bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Test-lock hang (not 100% reproducible) on GNU/Linux


From: Pavel Raiskup
Subject: Re: Test-lock hang (not 100% reproducible) on GNU/Linux
Date: Wed, 04 Jan 2017 13:27:13 +0100
User-agent: KMail/5.3.3 (Linux/4.8.15-300.fc25.x86_64; KDE/5.27.0; x86_64; ; )

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]