This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [RFC PATCH glibc] pthread_setspecific: Provide signal-safety across keys
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Mathieu Desnoyers <mathieu dot desnoyers at efficios dot com>
- Cc: Carlos O'Donell <carlos at redhat dot com>, Ben Maurer <bmaurer at fb dot com>, <libc-alpha at sourceware dot org>
- Date: Tue, 17 Oct 2017 21:55:34 +0000
- Subject: Re: [RFC PATCH glibc] pthread_setspecific: Provide signal-safety across keys
- Authentication-results: sourceware.org; auth=none
- References: <20171017212919.741-1-mathieu.desnoyers@efficios.com>
On Tue, 17 Oct 2017, Mathieu Desnoyers wrote:
> The intent here is to provide signal-safety against callers to
> pthread_{get/set}specific that work on different pthread keys,
> without hurting performance of the normal use-cases that do not
> care about signal-safety.
If we wish to provide particular safety guarantees beyond whatever is
required by POSIX, I think they should be documented in the glibc manual
as a GNU extension.
--
Joseph S. Myers
joseph@codesourcery.com