Fix vxWorks build issues from thread-hooks merge.

This commit is contained in:
Andrew Johnson
2012-07-05 13:39:00 -05:00
parent 5f0717adea
commit f9bb1ef542
3 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -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;
+1 -1
View File
@@ -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);
-1
View File
@@ -8,7 +8,6 @@
/* epicsThreadHooksTest.c */
#include <stdio.h>
#include <stdint.h>
#include "epicsThread.h"
#include "epicsExit.h"