This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] enable dynamic (thread safe) reents


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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]