Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Tue, 31 Mar 2020 22:15:15 +0200
From: "Michael Kerrisk (man-pages)" <mtk.manpages@...il.com>
To: Markus Wichmann <nullplan@....net>
Cc: mtk.manpages@...il.com, musl@...ts.openwall.com,
 Carlos O'Donell <carlos@...hat.com>
Subject: Re: Simple question regarding read-write locks precedence

Hi Carlos,

Can you comment on this note about your text[1] in the 
pthread_rwlockattr_setkind_np.3 manual page:

On 3/31/20 9:45 PM, Markus Wichmann wrote:
> On Tue, Mar 31, 2020 at 09:02:24PM +0200, Michael Kerrisk (man-pages) wrote:
>> So, is there still something you think needs fixing in the page?
>>
> 
> Yes.
> 
> |This is ignored by glibc because the POSIX requirement to support
> |recursive writer locks would cause this option to create trivial
> |deadlocks;[...]
> 
> There is no POSIX requirement to support recursive writer locks. I think
> this is meant to say "recursive reader locks".

Thanks,

Michael

[1] https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/commit/?id=0d255e74c098dd2ad420367503398ad7f8f82024


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.