nrfxlib API 2.7.99
Loading...
Searching...
No Matches

◆ OSAL_Create_Thread()

OSAL_Thread_t OSAL_Create_Thread ( uint32_t  StackSize,
OSAL_Thread_Function_t  ThreadFunction,
void *  Data 
)

Creates a thread.

Parameters
[in]StackSizeStack size of the thread; may be 0 for the default thread stack size.
[in]ThreadFunctionTimer handler function.
[in]DataPointer to application data to be provided as an argument to the thread function call.
Returns
Handle to the created thread upon successor NULL upon failure.