24 #include "aws_iot_config.h"
25 #ifdef _ENABLE_THREAD_SUPPORT_
26 #ifndef __THREADS_INTERFACE_H_
27 #define __THREADS_INTERFACE_H_
32 #include "threads_platform.h"
44 typedef struct _IoT_Mutex_t IoT_Mutex_t;
54 IoT_Error_t aws_iot_thread_mutex_init(IoT_Mutex_t *);
65 IoT_Error_t aws_iot_thread_mutex_lock(IoT_Mutex_t *);
76 IoT_Error_t aws_iot_thread_mutex_trylock(IoT_Mutex_t *);
86 IoT_Error_t aws_iot_thread_mutex_unlock(IoT_Mutex_t *);
96 IoT_Error_t aws_iot_thread_mutex_destroy(IoT_Mutex_t *);
Definition of error types for the SDK.
IoT_Error_t
IoT Error enum.
Definition: aws_iot_error.h:36