[ovs-dev] [PATCH v2 3/3] lib/ovs-thread: Avoid atomic read in ovsthread_once_start().
blp at nicira.com
Fri Aug 29 21:42:57 UTC 2014
On Fri, Aug 29, 2014 at 02:10:44PM -0700, Jarno Rajahalme wrote:
> We can use a normal bool and rely on the mutex_lock/unlock and an
> atomic_thread_fence for synchronization.
> Also flip the return value of ovsthread_once_start__() to match the
> one of ovsthread_once_start().
> Signed-off-by: Jarno Rajahalme <jrajahalme at nicira.com>
> v3: Simplified.
Acked-by: Ben Pfaff <blp at nicira.com>
More information about the dev