]> git.proxmox.com Git - mirror_ovs.git/commit - lib/stopwatch.c
stopwatch: Fix Windows incompatibility
authorMark Michelson <mmichels@redhat.com>
Mon, 9 Apr 2018 17:07:20 +0000 (12:07 -0500)
committerBen Pfaff <blp@ovn.org>
Tue, 10 Apr 2018 20:29:15 +0000 (13:29 -0700)
commit484f7dbdaa2bbeb71781354df29c18fdb12a3925
treee889daea9d82d3b97cd387e85179c68c9cd3cda4
parenta045e4b03d7603572ae0d503762c52dc40bf6f23
stopwatch: Fix Windows incompatibility

Stopwatch was implemented using a Unix-only pipe structure. This commit
changes to using a guarded list and latch in order to pass data between
threads.

Signed-off-by: Mark Michelson <mmichels@redhat.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
lib/stopwatch.c