FreeRTOS:
Platform
Platform portability layer
|
Return to main page ↑ |
Create a new detached thread, i.e. a thread that cleans up after itself.
This function creates a new thread. Threads created by this function exit upon returning from the thread routine. Any resources taken must be freed by the exiting thread.
[in] | threadRoutine | The function this thread should run. |
[in] | pArgument | The argument passed to threadRoutine . |
[in] | priority | Represents the priority of the new thread, as defined by the system. The value IOT_THREAD_DEFAULT_PRIORITY (i.e. 0 ) must be used to represent the system default for thread priority. |
[in] | stackSize | Represents the stack size of the new thread, as defined by the system. The value IOT_THREAD_DEFAULT_STACK_SIZE (i.e. 0 ) must be used to represent the system default for stack size. |
true
if the new thread was successfully created; false
otherwise.