On Mon, Dec 10, 2018 at 08:05:23PM +0300, Ilya Maximets wrote:
> This fixes build with clang on FreeBSD:
>
> lib/ovs-thread.c:266:13: error:
>
> calling function 'pthread_cond_wait' requires holding mutex \
> 'mutex->lock' exclusively [-Werror,-Wthread-safety-analysis]
>
> error = pthread_cond_wait(cond, &mutex->lock);
> ^
>
> Fixes: 97be153858b4 ("clang: Add annotations for thread safety check.")
> Signed-off-by: Ilya Maximets <[email protected]>
Applied to master, thanks!
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev