summaryrefslogtreecommitdiffstats
path: root/cpukit/score/macros/rtems/score/thread.inl
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-05-17 18:01:36 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-05-17 18:01:36 +0000
commit1b074a19c3c5a1f7c9674824ffefe2bff421d5fe (patch)
tree6eec6a06a9c517d578dd15153ad3e4db153e8f46 /cpukit/score/macros/rtems/score/thread.inl
parent2001-05-17 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-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 '')
-rw-r--r--cpukit/score/macros/rtems/score/thread.inl16
1 files changed, 16 insertions, 0 deletions
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 */