Namaste Forum Member,
My development environment comprises of ESP32 DevKitC and Amazon FreeRTOS.
For Thread creation, I’m using the Iot_CreateDetachedThread function offered by the AWS IoT Device SDK C, which has the below syntax.
bool Iot_CreateDetachedThread( IotThreadRoutine_t threadRoutine,
void * pArgument,
size_t stackSize )
Questions relating to the Thread created are:
- How to get the Thread Handle of this Thread for using with FreeRTOS APIs?
- How to Suspend and Resume this Thread, similar to the FreeRTOS APIs vTaskSuspend() and vTaskResume()?
- AWS IoT Device SDK C - https://docs.aws.amazon.com/freertos/latest/lib-ref/c-sdk/main/index.html
- Iot_CreateDetachedThread - https://docs.aws.amazon.com/freertos/latest/lib-ref/c-sdk/platform/platform_threads_function_createdetachedthread.html
Thanks | Regards,