*/\r
#define IOT_TASKPOOL_ENABLE_ASSERTS 1\r
\r
+/*\r
+ * The full IoT Task Pool Library has many use cases, including Linux\r
+ * development. Typical FreeRTOS use cases do not require the full\r
+ * functionality so an optimised implementation is provided specifically for use\r
+ * with FreeRTOS. The optimised version has a fixed number of tasks in the\r
+ * pool, each of which uses statically allocated memory to ensure creation of\r
+ * the pool is guaranteed (it does not run out of heap space).\r
+ * IOT_TASKPOOL_NUMBER_OF_WORKERS sets the number of tasks in the pool.\r
+ */\r
+#define IOT_TASKPOOL_NUMBER_OF_WORKERS 3\r
+\r
/*\r
* Set the log level of the task pool library.\r
*\r
*/\r
#define IOT_LOG_LEVEL_TASKPOOL IOT_LOG_INFO\r
\r
-/*\r
- *\r
- */\r
-#define IOT_TASKPOOL_NUMBER_OF_WORKERS 3\r
\r
-/*\r
- *\r
+/**\r
+ * @brief The stack size (in bytes) for each worker task in the task pool.\r
+ * \r
+ * The minimal version of the of task pool library only supports one task pool\r
+ * and the configuration of each worker task fixed at the compile time.\r
*/\r
-#define IOT_TASKPOOL_WORKER_STACK_SIZE_BYTES 2048\r
+#define IOT_TASKPOOL_WORKER_STACK_SIZE_BYTES 2048\r
\r
/* Include the common configuration file for FreeRTOS. */\r
#include "iot_config_common.h"\r