dummy implementation of threadOnce for win32
This commit is contained in:
@@ -369,6 +369,13 @@ epicsShareFunc void epicsShareAPI threadShow(void)
|
||||
printf("threadShow not implemented\n");
|
||||
}
|
||||
|
||||
epicsShareFunc void epicsShareAPI threadOnce(
|
||||
threadOnceId *id, void (*func)(void *), void *arg)
|
||||
{
|
||||
printf("threadOnce not implemented\n");
|
||||
cantProceed("threadOnce");
|
||||
}
|
||||
|
||||
epicsShareFunc threadPrivateId epicsShareAPI threadPrivateCreate ()
|
||||
{
|
||||
osdThreadPrivate *p = (osdThreadPrivate *) malloc (sizeof (*p));
|
||||
|
||||
@@ -2,4 +2,6 @@
|
||||
#ifndef osdThreadh
|
||||
#define osdThreadh
|
||||
|
||||
typedef int threadOnceId;
|
||||
|
||||
#endif /* osdThreadh */
|
||||
|
||||
@@ -113,7 +113,8 @@ private:
|
||||
|
||||
#include "osdThread.h"
|
||||
|
||||
void threadOnce(threadOnceId *id, void (*func)(void *), void *arg);
|
||||
epicsShareFunc void epicsShareAPI threadOnce(
|
||||
threadOnceId *id, void (*func)(void *), void *arg);
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
|
||||
Reference in New Issue
Block a user