[ovs-dev] [PATCH] poll-loop: windows poll_block implementation
Linda Sun
lsun at vmware.com
Mon Jan 6 21:57:58 UTC 2014
----- Original Message -----
From: "Ben Pfaff" <blp at nicira.com>
To: "Linda Sun" <lsun at vmware.com>
Cc: dev at openvswitch.org
Sent: Monday, December 30, 2013 10:33:13 AM
Subject: Re: [ovs-dev] [PATCH] poll-loop: windows poll_block implementation
I don't think that it's safe to do the operations that latch_poll()
and latch_set() do without synchronization. I suggest putting a lock
around those two whole functions. (Probably, one global lock is
plenty.)
Thanks for the review. We're still working on the clean pthread porting. For now, I don't have mutex available. Can I do that later?
Linda
More information about the dev
mailing list