2001-05-17 Joel Sherrill <joel@OARcorp.com>

* macros/rtems/score/thread..inl: Implemented missing routines
	for new libc reentrancy support.
This commit is contained in:
Joel Sherrill
2002-05-17 18:01:36 +00:00
parent 6a3a81c830
commit 1b074a19c3
4 changed files with 42 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
2001-05-17 Joel Sherrill <joel@OARcorp.com>
* macros/rtems/score/thread..inl: Implemented missing routines
for new libc reentrancy support.
2002-05-15 Chris Johns <ccj@acm.org>
* include/rtems/score/thread.h, inline/rtems/score/thread.inl,

View File

@@ -214,5 +214,21 @@ void _Thread_Enable_dispatch( void );
#define _Thread_Internal_free( _the_task ) \
_Objects_Free( &_Thread_Internal_information, &(_the_task)->Object )
/*
* _Thread_Get_libc_reent
*/
#define _Thread_Get_libc_reent() \
(_Thread_libc_reent)
/*
* _Thread_Set_libc_reent
*/
#define _Thread_Set_libc_reent(_libc_reent) \
do { \
_Thread_libc_reent = (_libc_reent); \
} while (0)
#endif
/* end of include file */