From 1b074a19c3c5a1f7c9674824ffefe2bff421d5fe Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 17 May 2002 18:01:36 +0000 Subject: 2001-05-17 Joel Sherrill * macros/rtems/score/thread..inl: Implemented missing routines for new libc reentrancy support. --- cpukit/score/macros/rtems/score/thread.inl | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'cpukit/score/macros/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 */ -- cgit v1.2.3