diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-02-09 14:30:42 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-02-09 14:30:42 +0000 |
commit | 107ce47b4b7be469696406948d2d2c1b01357b6b (patch) | |
tree | 91d1807bc741f2d6e7634f2a327239c51f4c5836 /cpukit/score/include/rtems/score/tqdata.h | |
parent | added rtems_interrupt_is_in_progress (diff) | |
download | rtems-107ce47b4b7be469696406948d2d2c1b01357b6b.tar.bz2 |
new isr synchronization algorithm using a single enumerated set of states.
Diffstat (limited to 'cpukit/score/include/rtems/score/tqdata.h')
-rw-r--r-- | cpukit/score/include/rtems/score/tqdata.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/score/include/rtems/score/tqdata.h b/cpukit/score/include/rtems/score/tqdata.h index 872a29beb0..a4a5551dfd 100644 --- a/cpukit/score/include/rtems/score/tqdata.h +++ b/cpukit/score/include/rtems/score/tqdata.h @@ -41,10 +41,11 @@ typedef enum { */ typedef enum { + THREAD_QUEUE_SYNCHRONIZED, THREAD_QUEUE_NOTHING_HAPPENED, THREAD_QUEUE_TIMEOUT, THREAD_QUEUE_SATISFIED -} Thread_queue_states; +} Thread_queue_States; /* * The following record defines the control block used @@ -59,8 +60,7 @@ typedef struct { Chain_Control Priority[TASK_QUEUE_DATA_NUMBER_OF_PRIORITY_HEADERS]; /* priority discipline list */ } Queues; - boolean sync; /* alloc/dealloc critical section */ - Thread_queue_states sync_state; /* what happened while in sync */ + Thread_queue_States sync_state; /* alloc/dealloc critical section */ Thread_queue_Disciplines discipline; /* queue discipline */ States_Control state; /* state of threads on Thread_q */ unsigned32 timeout_status; |