AWS IoT Device SDK C: Task Pool
Task pool library
Return to main page ↑
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.