Add an Init stat to all thread control variables
This makes the uninitilized value not the Run state.
This commit is contained in:
@@ -69,8 +69,8 @@ static epicsMutexId fLock;
|
||||
static ELLLIST fList = ELLLIST_INIT;
|
||||
|
||||
/* Watchdog task control */
|
||||
static enum {
|
||||
twdctlRun, twdctlDisable, twdctlExit
|
||||
static volatile enum {
|
||||
twdctlInit, twdctlRun, twdctlDisable, twdctlExit
|
||||
} twdCtl;
|
||||
static epicsEventId loopEvent;
|
||||
static epicsEventId exitEvent;
|
||||
|
||||
Reference in New Issue
Block a user