[RFA] enable dynamic (thread safe) reents
Thomas Pfaff
tpfaff@gmx.net
Fri May 16 12:13:00 GMT 2003
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
> transition.
>
TTTT,
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.
Thomas
More information about the Cygwin-patches
mailing list