You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
e75b609c74
IotTaskPool_CreateSystemTaskPool() calls synchronisation primitives, so cannot be called before the scheduler starts. Add a configASSERT() to ensure the scheduler is running when it executes. IotTaskPool_CreateSystemTaskPool() can conceivably be called from multiple different libraries that depend on the thread pool. In this version _IotSystemTaskPool.running can be used to check the system task pool has not already been created. If the task pool has been created simply return from IotTaskPool_CreateSystemTaskPool() instead of re-creating it (which would leak memory and leave orphaned tasks). Call taskENTER_CRITICAL() and taskEXIT_CRITICAL() directly in place of mapping them to TASKPOOL_ENTER_CRITICAL() and TASKPOOL_EXIT_CRITICAL() in the same file. Rename _timerThread() _timerCallback(), as it is a callback function and not a thread. Remove the unused flags parameter from _scheduleInternal(). |
6 years ago | |
---|---|---|
.. | ||
FreeRTOS-Plus-CLI | 7 years ago | |
FreeRTOS-Plus-IO | 12 years ago | |
FreeRTOS-Plus-IoT-SDK | 6 years ago | |
FreeRTOS-Plus-TCP | 6 years ago | |
FreeRTOS-Plus-Trace | 7 years ago | |
FreeRTOS-Plus-UDP | 7 years ago | |
Reliance-Edge | 8 years ago | |
WolfSSL | 10 years ago | |
WebDocs.url | 12 years ago |