This is the mail archive of the newlib@sourceware.org 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]

How is _GLOBAL_REENT meant to be used?


Hi, I've ported newlib to my preemptive RTOS. The REENT resp. _impure_ptr 
is set during task switches. Now on exit from a task fwalk etc. does not 
cleanup impure_ptr but GLOBAL_REENT (_global_impure_ptr), which is the 
static version.
How is it meant to be used or is there a possibility to map GLOBAL_REENT 
to REENT without changing newlib?
Thomas


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