Re: [ovs-dev] [PATCH v2 1/3] lib/seq: Document acquire-release semantics.

2014-08-29 Thread Ben Pfaff
On Fri, Aug 29, 2014 at 04:21:52PM -0700, Jarno Rajahalme wrote: > I changed the comment accordingly and pushed the series. Thanks for > the reviews, and have a nice long weekend! You're welcome. You too! ___ dev mailing list dev@openvswitch.org http://

Re: [ovs-dev] [PATCH v2 1/3] lib/seq: Document acquire-release semantics.

2014-08-29 Thread Jarno Rajahalme
On Aug 29, 2014, at 2:31 PM, Ben Pfaff wrote: > On Fri, Aug 29, 2014 at 02:10:42PM -0700, Jarno Rajahalme wrote: >> Seq objects would be really hard to use if they did not provide >> acquire-release semantics. Currently they do that via >> ovs_mutex_lock()/ovs_mutex_unlock(), respectively. Doc

Re: [ovs-dev] [PATCH v2 1/3] lib/seq: Document acquire-release semantics.

2014-08-29 Thread Ben Pfaff
On Fri, Aug 29, 2014 at 02:10:42PM -0700, Jarno Rajahalme wrote: > Seq objects would be really hard to use if they did not provide > acquire-release semantics. Currently they do that via > ovs_mutex_lock()/ovs_mutex_unlock(), respectively. Document the > behavior so that it is safer to rely on th

[ovs-dev] [PATCH v2 1/3] lib/seq: Document acquire-release semantics.

2014-08-29 Thread Jarno Rajahalme
Seq objects would be really hard to use if they did not provide acquire-release semantics. Currently they do that via ovs_mutex_lock()/ovs_mutex_unlock(), respectively. Document the behavior so that it is safer to rely on that elsewhere. Signed-off-by: Jarno Rajahalme --- lib/ovs-thread.c |