From f3dabb0439c8788ecb16536054728e36778c462a Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 8 Feb 1996 22:16:35 +0000 Subject: [PATCH] changed synchronization algorithm to be a single list of enumerated states --- c/src/exec/rtems/headers/event.h | 4 ++-- c/src/exec/rtems/include/rtems/rtems/event.h | 4 ++-- cpukit/rtems/include/rtems/rtems/event.h | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/c/src/exec/rtems/headers/event.h b/c/src/exec/rtems/headers/event.h index 0c8ab2190e..6ae6bcee5c 100644 --- a/c/src/exec/rtems/headers/event.h +++ b/c/src/exec/rtems/headers/event.h @@ -48,6 +48,7 @@ extern "C" { */ typedef enum { + EVENT_SYNC_SYNCHRONIZED, EVENT_SYNC_NOTHING_HAPPENED, EVENT_SYNC_TIMEOUT, EVENT_SYNC_SATISFIED @@ -153,12 +154,11 @@ void _Event_Timeout ( ); /* - * The following defines the synchronization flags used by the + * The following defines the synchronization flag used by the * Event Manager to insure that signals sent to the currently * executing thread are received properly. */ -EXTERN volatile boolean _Event_Sync; EXTERN volatile Event_Sync_states _Event_Sync_state; #include diff --git a/c/src/exec/rtems/include/rtems/rtems/event.h b/c/src/exec/rtems/include/rtems/rtems/event.h index 0c8ab2190e..6ae6bcee5c 100644 --- a/c/src/exec/rtems/include/rtems/rtems/event.h +++ b/c/src/exec/rtems/include/rtems/rtems/event.h @@ -48,6 +48,7 @@ extern "C" { */ typedef enum { + EVENT_SYNC_SYNCHRONIZED, EVENT_SYNC_NOTHING_HAPPENED, EVENT_SYNC_TIMEOUT, EVENT_SYNC_SATISFIED @@ -153,12 +154,11 @@ void _Event_Timeout ( ); /* - * The following defines the synchronization flags used by the + * The following defines the synchronization flag used by the * Event Manager to insure that signals sent to the currently * executing thread are received properly. */ -EXTERN volatile boolean _Event_Sync; EXTERN volatile Event_Sync_states _Event_Sync_state; #include diff --git a/cpukit/rtems/include/rtems/rtems/event.h b/cpukit/rtems/include/rtems/rtems/event.h index 0c8ab2190e..6ae6bcee5c 100644 --- a/cpukit/rtems/include/rtems/rtems/event.h +++ b/cpukit/rtems/include/rtems/rtems/event.h @@ -48,6 +48,7 @@ extern "C" { */ typedef enum { + EVENT_SYNC_SYNCHRONIZED, EVENT_SYNC_NOTHING_HAPPENED, EVENT_SYNC_TIMEOUT, EVENT_SYNC_SATISFIED @@ -153,12 +154,11 @@ void _Event_Timeout ( ); /* - * The following defines the synchronization flags used by the + * The following defines the synchronization flag used by the * Event Manager to insure that signals sent to the currently * executing thread are received properly. */ -EXTERN volatile boolean _Event_Sync; EXTERN volatile Event_Sync_states _Event_Sync_state; #include