29#ifndef SOPC_THREADS_H_
30#define SOPC_THREADS_H_
50#define SOPC_INVALID_THREAD NULL
74 const char* taskName);
107 const char* taskName);
enum _SOPC_ReturnStatus SOPC_ReturnStatus
Common enumerations for S2OPC.
void SOPC_Sleep(unsigned int milliseconds)
Suspend current thread execution for (at least) a millisecond interval.
SOPC_ReturnStatus SOPC_Thread_Create(SOPC_Thread *thread, void *(*startFct)(void *), void *startArgs, const char *taskName)
Function to create a thread.
SOPC_ReturnStatus SOPC_Thread_CreatePrioritized(SOPC_Thread *thread, void *(*startFct)(void *), void *startArgs, int priority, const char *taskName)
Function to create a high priority thread.
SOPC_ReturnStatus SOPC_Thread_Join(SOPC_Thread *thread)
Function to wait for a thread to terminate.
SOPC_Thread_Impl * SOPC_Thread
Definition sopc_threads.h:49
Definition p_sopc_threads.h:42
SOPCThreadStartFct * startFct
Definition p_sopc_threads.h:45
pthread_t thread
Definition p_sopc_threads.h:43