[ovs-dev] [PATCH] stopwatch: Fix Windows incompatibility

Alin Serdean aserdean at cloudbasesolutions.com
Fri Apr 13 14:42:24 UTC 2018



> On 10 Apr 2018, at 23:31, Ben Pfaff <blp at ovn.org> wrote:
> 
> On Mon, Apr 09, 2018 at 12:07:20PM -0500, Mark Michelson wrote:
>> 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 at redhat.com>
> 
> Thanks, applied to master.
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Thanks for fixing this! I ran the unit test for stopwatch and it seems fine:
## ------------------------------ ##
## openvswitch 2.9.90 test suite. ##
## ------------------------------ ##
82. library.at:255: testing stopwatch module ...
./library.at:256: ovstest test-stopwatch
stderr:
TEST '1-interval-zero-length'
TEST '1-interval-unit-length'
TEST '10-intervals-unit-length'
TEST '10-intervals-linear-growth'
TEST '60-intervals-unit-length'
TEST '60-intervals-linear-growth'
82. library.at:255:  ok


More information about the dev mailing list