summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/threadimpl.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2015-03-27 21:08:21 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2015-04-08 11:48:15 +0200
commitedcf89b6f29b532360c2066446e4571286cbf705 (patch)
tree8f2a524a492df1b2f66a25fa8876296dbc26f049 /cpukit/score/include/rtems/score/threadimpl.h
parentscore: Return prev state in thread state set/clear (diff)
downloadrtems-edcf89b6f29b532360c2066446e4571286cbf705.tar.bz2
rtems: Atomically suspend/resume tasks
Diffstat (limited to '')
-rw-r--r--cpukit/score/include/rtems/score/threadimpl.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/cpukit/score/include/rtems/score/threadimpl.h b/cpukit/score/include/rtems/score/threadimpl.h
index 65625b6011..0f37655e0c 100644
--- a/cpukit/score/include/rtems/score/threadimpl.h
+++ b/cpukit/score/include/rtems/score/threadimpl.h
@@ -356,21 +356,6 @@ void _Thread_Set_priority(
);
/**
- * This routine updates the related suspend fields in the_thread
- * control block to indicate the current nested level.
- */
-#define _Thread_Suspend( _the_thread ) \
- _Thread_Set_state( _the_thread, STATES_SUSPENDED )
-
-/**
- * This routine updates the related suspend fields in the_thread
- * control block to indicate the current nested level. A force
- * parameter of true will force a resume and clear the suspend count.
- */
-#define _Thread_Resume( _the_thread ) \
- _Thread_Clear_state( _the_thread, STATES_SUSPENDED )
-
-/**
* @brief Maps thread Id to a TCB pointer.
*
* This function maps thread IDs to thread control