----- Original Message ----- From: "Ben Pfaff" <b...@nicira.com> To: "Linda Sun" <l...@vmware.com> Cc: dev@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 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev