diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-05-17 18:01:36 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-05-17 18:01:36 +0000 |
commit | 1b074a19c3c5a1f7c9674824ffefe2bff421d5fe (patch) | |
tree | 6eec6a06a9c517d578dd15153ad3e4db153e8f46 /c/src/exec/score/macros/rtems | |
parent | 2001-05-17 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-1b074a19c3c5a1f7c9674824ffefe2bff421d5fe.tar.bz2 |
2001-05-17 Joel Sherrill <joel@OARcorp.com>
* macros/rtems/score/thread..inl: Implemented missing routines
for new libc reentrancy support.
Diffstat (limited to 'c/src/exec/score/macros/rtems')
-rw-r--r-- | c/src/exec/score/macros/rtems/score/thread.inl | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/c/src/exec/score/macros/rtems/score/thread.inl b/c/src/exec/score/macros/rtems/score/thread.inl index 749b1c5205..6abb287d8b 100644 --- a/c/src/exec/score/macros/rtems/score/thread.inl +++ b/c/src/exec/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 */ |