[ovs-dev] [PATCH 3/4] ovs-thread: Drop xpthread_meutex_{un}lock finctions.
Ben Pfaff
blp at ovn.org
Mon Dec 10 17:52:37 UTC 2018
On Mon, Dec 10, 2018 at 08:05:22PM +0300, Ilya Maximets wrote:
> There are no users of these functions.
> This change fixes clang build on FreeBSD:
>
> lib/ovs-thread.c:158:1: error: \
> mutex 'mutex' is still held at the end of function \
> [-Werror,-Wthread-safety-analysis]
> XPTHREAD_FUNC1(pthread_mutex_lock, pthread_mutex_t *);
> ^
> lib/ovs-thread.c:138:5: note: expanded from macro 'XPTHREAD_FUNC1'
> }
> ^
>
> Fixes: 4dff0893c376 ("ovs-atomic-pthreads: Use global shared locks for atomic_flag also.")
> Signed-off-by: Ilya Maximets <i.maximets at samsung.com>
Applied to master, thanks!
More information about the dev
mailing list