26 #ifndef _FREERTOS_POSIX_INTERNAL_H_ 27 #define _FREERTOS_POSIX_INTERNAL_H_ 35 #include "aws_doubly_linked_list.h" 40 #if posixconfigENABLE_PTHREAD_MUTEXATTR_T == 1 41 typedef struct pthread_mutexattr_internal
44 } pthread_mutexattr_internal_t;
47 #if posixconfigENABLE_PTHREAD_MUTEX_T == 1 51 typedef struct pthread_mutex_internal
53 BaseType_t xIsInitialized;
54 StaticSemaphore_t xMutex;
55 TaskHandle_t xTaskOwner;
56 pthread_mutexattr_internal_t xAttr;
57 } pthread_mutex_internal_t;
62 #define FREERTOS_POSIX_MUTEX_INITIALIZER \ 63 ( &( ( pthread_mutex_internal_t ) \ 65 .xIsInitialized = pdFALSE, \ 66 .xMutex = { { 0 } }, \ 68 .xAttr = { .iType = 0 } \ 77 typedef struct pthread_cond_internal
88 #define FREERTOS_POSIX_COND_INITIALIZER \ 89 ( &( ( pthread_cond_internal_t ) \ 91 .xIsInitialized = pdFALSE, \ 92 .xCondMutex = { { 0 } }, \ 93 .xCondWaitSemaphore = { { 0 } },\ 94 .iWaitingThreads = 0 \ BaseType_t xIsInitialized
Definition: FreeRTOS_POSIX_internal.h:79
StaticSemaphore_t xCondMutex
Definition: FreeRTOS_POSIX_internal.h:80
int iWaitingThreads
Definition: FreeRTOS_POSIX_internal.h:82
StaticSemaphore_t xCondWaitSemaphore
Definition: FreeRTOS_POSIX_internal.h:81
Mutex attribute object.
Definition: FreeRTOS_POSIX_internal.h:77