Fix vxWorks build issues from thread-hooks merge.
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
/* Null default thread hooks for all platforms that do not do anything special */
|
||||
|
||||
#define epicsExportSharedSymbols
|
||||
#include "shareLib.h"
|
||||
#include "epicsThread.h"
|
||||
|
||||
epicsShareExtern EPICS_THREAD_HOOK_ROUTINE epicsThreadHookDefault;
|
||||
epicsShareExtern EPICS_THREAD_HOOK_ROUTINE epicsThreadHookMain;
|
||||
|
||||
@@ -107,7 +107,7 @@ static void epicsThreadInit(void)
|
||||
epicsThreadHooksInit(NULL);
|
||||
epicsThreadOnceMutex = semMCreate(SEM_DELETE_SAFE|SEM_INVERSION_SAFE|SEM_Q_PRIORITY);
|
||||
assert(epicsThreadOnceMutex);
|
||||
epicsThreadListMutex semMCreate(SEM_DELETE_SAFE|SEM_INVERSION_SAFE|SEM_Q_PRIORITY);
|
||||
epicsThreadListMutex = semMCreate(SEM_DELETE_SAFE|SEM_INVERSION_SAFE|SEM_Q_PRIORITY);
|
||||
assert(epicsThreadListMutex);
|
||||
taskIdList = calloc(ID_LIST_CHUNK, sizeof(int));
|
||||
assert(taskIdList);
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
/* epicsThreadHooksTest.c */
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include "epicsThread.h"
|
||||
#include "epicsExit.h"
|
||||
|
||||
Reference in New Issue
Block a user