On 16 January 2014 10:07, Ben Pfaff <[email protected]> wrote:
>
> + * An ovs_rwlock does not support recursive readers, because POSIX allows
> + * taking the reader lock recursively to deadlock when a thread is
> waiting on
> + * the write-lock.  (NetBSD does deadlock.)  glibc does not deadlock in
> this
> + * situation by default, but ovs_rwlock_init() initializes rwlocks to do
> so
> + * anyway for two reasons:


The last sentence seems a bit odd. Perhaps something closer to "glibc does
not deadlock in this situation by default, but ovs_rwlock_init()
initializes rwlocks as non-recursive anyway for two reasons:"?

Otherwise,
Acked-by: Joe Stringer <[email protected]>
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev

Reply via email to