[RFA] enable dynamic (thread safe) reents

Christopher Faylor cgf@redhat.com
Fri Jun 13 03:16:00 GMT 2003

On Fri, May 16, 2003 at 02:12:16PM +0200, Thomas Pfaff wrote:
>Thomas Pfaff wrote:
>>While single threaded apps should keep run without problems (_impure_ptr
>>is still used for the mainthread) multithreaded apps should be recompiled
>>to get the full power of the thread safe reents. This is due the
>>fact that _RRENT is used in some newlib headers directly. Unfortunately
>>this affects also static libs, therefore this is will be a longer
>this will only affect stdio
>stdio.h:147:#define     stdin   (_REENT->_stdin)
>stdio.h:148:#define     stdout  (_REENT->_stdout)
>stdio.h:149:#define     stderr  (_REENT->_stderr)
>and i consider this harmless.

Does this imply that using a DLL rebuilt like this will require recompilation
of static libraries using errno?


More information about the Cygwin-patches mailing list