Task Pool API Reference
Task pool library
IotTaskPool_GetSystemTaskPool

Retrieves the one and only instance of a system task pool.

This function retrieves the system task pool created with IotTaskPool_CreateSystemTaskPool, and it is functionally equivalent to using the shortcut IOT_SYSTEM_TASKPOOL.

Returns
The system task pool handle.
Warning
This function should be called after creating the system task pool with IotTaskPool_CreateSystemTaskPool. Calling this function before creating the system task pool may return a pointer to an uninitialized task pool, NULL, or otherwise fail with undefined behaviour.
IotTaskPool_t
struct _taskPool * IotTaskPool_t
Opaque handle of a Task Pool instance.
Definition: iot_taskpool_types.h:213
IotTaskPool_GetSystemTaskPool
IotTaskPool_t IotTaskPool_GetSystemTaskPool(void)
Retrieves the one and only instance of a system task pool.