Task Pool API Reference
Task pool library
IotTaskPool_CreateSystemTaskPool

Creates the one single instance of the system task pool.

This function should be called once by the application to initialize the one single instance of the system task pool. An application should initialize the system task pool early in the boot sequence, before initializing any other library (e.g. MQTT) that uses the system task pool. An application should also initialize the system task pool before posting any jobs. Early initialization is typically easy to accomplish by creating the system task pool before the scheduler is started.

The shortcut IOT_SYSTEM_TASKPOOL contains the system task pool handle.

Parameters
[in]pInfoA pointer to the task pool initialization data.
Returns
One of the following:
Warning
This function should be called only once. Calling this function more that once will result in undefined behavior.
IotTaskPoolInfo_t
Initialization information to create one task pool instance.
Definition: iot_taskpool_types.h:223
IotTaskPool_CreateSystemTaskPool
IotTaskPoolError_t IotTaskPool_CreateSystemTaskPool(const IotTaskPoolInfo_t *const pInfo)
Creates the one single instance of the system task pool.
Definition: iot_taskpool.c:203
IotTaskPoolError_t
IotTaskPoolError_t
Return codes of task pool functions.
Definition: iot_taskpool_types.h:50