1 /* 2 * SPDX-FileCopyrightText: 2018-2022 Espressif Systems (Shanghai) CO LTD 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 #ifndef __ESP_PLATFORM_PTHREAD_H__ 7 #define __ESP_PLATFORM_PTHREAD_H__ 8 9 #include <sys/types.h> 10 #include <sys/time.h> 11 #include <sys/features.h> 12 13 #include_next <pthread.h> 14 15 #ifdef __cplusplus 16 extern "C" { 17 #endif 18 19 int pthread_condattr_getclock(const pthread_condattr_t * attr, clockid_t * clock_id); 20 21 int pthread_condattr_setclock(pthread_condattr_t *attr, clockid_t clock_id); 22 23 #ifdef __cplusplus 24 } 25 #endif 26 27 #endif // __ESP_PLATFORM_PTHREAD_H__ 28