[RFC PATCH glibc] pthread_setspecific: Provide signal-safety across keys

Joseph Myers joseph@codesourcery.com
Tue Oct 17 21:55:00 GMT 2017


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



More information about the Libc-alpha mailing list