Question
A qustion about osThreadId?
Posted on March 28, 2017 at 05:34
Everyone,
I have a puzzle in my mind, how can I change the Id into a specific one for a different task ?
on freetos.c :
osThreadId defaultTaskHandle;
osThreadId secondTaskHandle;�?�?
on cmisis_os.h :
/// Thread ID identifies the thread (pointer to a thread control block).
/// \note CAN BE CHANGED: \b os_thread_cb is implementation specific in every CMSIS-RTOS.
typedef TaskHandle_t osThreadId;�?�?�?
How can I make, base on cmisis_os.h, ? or any suggestions ?
osThreadId1 defaultTaskHandle
osThreadId2 secondTaskHandle;�?�?
Thanks
#freertos #thread #variable