summaryrefslogtreecommitdiffstats
path: root/cpukit/score/macros/rtems/score/thread.inl
diff options
context:
space:
mode:
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 */