On 16 January 2014 10:07, Ben Pfaff <b...@nicira.com> 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 <joestrin...@nicira.com>
_______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev