2022-06-17 10:59:56 -04:00
|
|
|
/*
|
|
|
|
* SPDX-FileCopyrightText: 2018-2022 Espressif Systems (Shanghai) CO LTD
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
2018-05-29 05:25:24 -04:00
|
|
|
#ifndef __ESP_PLATFORM_PTHREAD_H__
|
|
|
|
#define __ESP_PLATFORM_PTHREAD_H__
|
|
|
|
|
|
|
|
#include <sys/types.h>
|
|
|
|
#include <sys/time.h>
|
2019-04-10 10:05:10 -04:00
|
|
|
#include <sys/features.h>
|
2018-08-10 06:52:27 -04:00
|
|
|
|
2018-05-29 05:25:24 -04:00
|
|
|
#include_next <pthread.h>
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
int pthread_condattr_getclock(const pthread_condattr_t * attr, clockid_t * clock_id);
|
|
|
|
|
|
|
|
int pthread_condattr_setclock(pthread_condattr_t *attr, clockid_t clock_id);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif // __ESP_PLATFORM_PTHREAD_H__
|