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] |
On 08/07/13 18:22, Ralf Corsepius wrote:
On 07/08/2013 11:16 AM, Sebastian Huber wrote:This helps to get rid of the global _Thread_libc_reent pointer in RTEMS which is unsuitable for SMP configurations. It simplifies also thread dispatching in RTEMS. newlib/ChangeLog 2013-07-08 Sebastian Huber <sebastian.huber@embedded-brains.de> * libc/include/sys/config.h (__DYNAMIC_REENT__): Define for RTEMS. --- newlib/libc/include/sys/config.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)diff --git a/newlib/libc/include/sys/config.h b/newlib/libc/include/sys/config.hindex a641c4b..c726e14 100644 --- a/newlib/libc/include/sys/config.h +++ b/newlib/libc/include/sys/config.h @@ -232,6 +232,7 @@ #if defined(__rtems__) #define __FILENAME_MAX__ 255 #define _READ_WRITE_RETURN_TYPE _ssize_t +#define __DYNAMIC_REENT__ #define _REENT_GLOBAL_ATEXIT #endifElaborate what this define is used for. Ralf
It was discussed some months ago on the RTEMS mailing list: http://www.rtems.org/pipermail/rtems-devel/2013-April/002938.html -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail : sebastian.huber@embedded-brains.de PGP : Public key available on request. Diese Nachricht ist keine geschÃftliche Mitteilung im Sinne des EHUG.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |