This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib 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: How to use __DYNAMIC_REENT__ correctly in multithreaded applications ?


At 17.10 18/08/2003, Thomas Pfaff wrote:
some time ago i have added a __DYNAMIC_REENT__ to the cygwin part of config.h. The main purpose was to get thread safe errnos (without this define errno is stored process global in _impure_ptr).

it's a problem in newlib' design that I've noted too. It has a single reentrancy structure, while it would need at least two (global and thread-local)



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