signals and _REENT

Corinna Vinschen vinschen@redhat.com
Tue Feb 24 13:31:00 GMT 2015


On Feb 21 22:44, Freddie Chopin wrote:
> Hello!
> 
> While browsing newlib's source I noticed that signal-related functions in
> newlib (like signal() or raise()) use _REENT, which is per-thread. Shouldn't
> these functions use _GLOBAL_REENT, which I assume is per-process?

Hmm.  Hard to tell.  I'm not sure about the original intention of
this code.  I *think* you're right, though.  Jeff?


Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20150224/e33f07a3/attachment.sig>


More information about the Newlib mailing list