From 107ce47b4b7be469696406948d2d2c1b01357b6b Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 9 Feb 1996 14:30:42 +0000 Subject: new isr synchronization algorithm using a single enumerated set of states. --- cpukit/score/include/rtems/score/tqdata.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cpukit/score/include') 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; -- cgit v1.2.3