diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-04-22 10:06:05 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-05-19 12:00:45 +0200 |
commit | 08fe84b5d7072b7809581b1a25954a3b221497a5 (patch) | |
tree | 79a1ea39b1ea24ca25bf9f450a726efe80dd6257 /cpukit/score/include/rtems/score/thread.h | |
parent | score: Reduce thread wait states (diff) | |
download | rtems-08fe84b5d7072b7809581b1a25954a3b221497a5.tar.bz2 |
score: Generalize _Event_Timeout()
Add a thread wait timeout code. Replace _Event_Timeout() with a general
purpose _Thread_Timeout() watchdog handler.
Update #2273.
Diffstat (limited to 'cpukit/score/include/rtems/score/thread.h')
-rw-r--r-- | cpukit/score/include/rtems/score/thread.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cpukit/score/include/rtems/score/thread.h b/cpukit/score/include/rtems/score/thread.h index 112bd22e63..1a73fdaa8a 100644 --- a/cpukit/score/include/rtems/score/thread.h +++ b/cpukit/score/include/rtems/score/thread.h @@ -354,6 +354,11 @@ typedef struct { */ uint32_t return_code; + /** + * @brief Code to set the timeout return code in _Thread_Timeout(). + */ + uint32_t timeout_code; + /** This field points to the thread queue on which this thread is blocked. */ Thread_queue_Control *queue; |