changed synchronization algorithm to be a single list of enumerated states

This commit is contained in:
Joel Sherrill
1996-02-08 22:16:35 +00:00
parent d57392d0e1
commit f3dabb0439
3 changed files with 6 additions and 6 deletions

View File

@@ -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 <rtems/rtems/eventmp.h>

View File

@@ -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 <rtems/rtems/eventmp.h>

View File

@@ -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 <rtems/rtems/eventmp.h>