diff options
Diffstat (limited to 'threads.h')
-rw-r--r-- | threads.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -34,6 +34,7 @@ typedef enum eTermSyncType { typedef struct thrdInfo { eTermSyncType_t eTermTool; int bIsActive; /* Is thread running? */ + rsRetVal (*pUsrThrdMain)(void); /* user thread main to be called in new thread */ pthread_t thrdID; } thrdInfo_t; @@ -53,7 +54,7 @@ rsRetVal thrdExit(void); rsRetVal thrdInit(void); rsRetVal thrdTerminate(thrdInfo_t *pThis); rsRetVal thrdTerminateAll(void); -rsRetVal thrdCreate(void* (*thrdMain)(void*), eTermSyncType_t eTermSyncType); +rsRetVal thrdCreate(rsRetVal (*thrdMain)(void), eTermSyncType_t eTermSyncType); msgQueue *queueInit (void); void queueDelete (msgQueue *q); void queueAdd (msgQueue *q, void* in); |