On Fri, Jul 26, 2013 at 06:07:02PM -0700, Ethan Jackson wrote:
> This commit adds annotations for thread safety check. And the
> check can be conducted by using -Wthread-safety flag in clang.
> 
> Co-authored-by: Alex Wang <al...@nicira.com>
> Signed-off-by: Alex Wang <al...@nicira.com>
> Signed-off-by: Ethan Jackson <et...@nicira.com>

Currently, the 'where' members of ovs_mutex and ovs_rwlock are
write-only.  It would be nice if the pthread failure abort messages
mentioned the caller's location and, at least for EDEADLK, the
location of the code deadlocked against.
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to