[ovs-git] [openvswitch/ovs] 0f3d9f: stopwatch: Add latch_poll to stopwatch loop.

GitHub noreply at github.com
Fri Apr 13 17:57:46 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 0f3d9fb4853199d66caa1a32ee16a7e5a36d8a84
      https://github.com/openvswitch/ovs/commit/0f3d9fb4853199d66caa1a32ee16a7e5a36d8a84
  Author: Mark Michelson <mmichels at redhat.com>
  Date:   2018-04-13 (Fri, 13 Apr 2018)

  Changed paths:
    M lib/stopwatch.c

  Log Message:
  -----------
  stopwatch: Add latch_poll to stopwatch loop.

Nothing was clearing the latch, so the loop was busy. This makes it so
the loop only runs on new calls to latch_set() by a separate thread.

Signed-off-by: Mark Michelson <mmichels at redhat.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list