diff options
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/score/ChangeLog | 5 | ||||
-rw-r--r-- | cpukit/score/macros/rtems/score/thread.inl | 16 |
2 files changed, 21 insertions, 0 deletions
diff --git a/cpukit/score/ChangeLog b/cpukit/score/ChangeLog index f38230f27a..23d83dcc47 100644 --- a/cpukit/score/ChangeLog +++ b/cpukit/score/ChangeLog @@ -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, diff --git a/cpukit/score/macros/rtems/score/thread.inl b/cpukit/score/macros/rtems/score/thread.inl index 749b1c5205..6abb287d8b 100644 --- a/cpukit/score/macros/rtems/score/thread.inl +++ b/cpukit/score/macros/rtems/score/thread.inl @@ -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 */ |