On Wednesday, January 4, 2017 1:19:36 PM CET Pavel Raiskup wrote: > I don't want to claim rwlocks are not reliable. IMO rwlocks do what we > ask to do... One writer OR multiple readers. > > The question is what should be the default policy ... who should be more > privileged by default (writers/readers). Specs recently changed from > "unspecified" to "privileged writers" by default. The *_np() function don't > seem to be backed by POSIX.
As gnulib is portability library, it would be probably nice if gnulib automatically set appropriate policy according to actual specifications (even if we had to set the policy by non-portable calls). Pavel