7#ifndef ZEPHYR_INCLUDE_POSIX_TYPES_H_
8#define ZEPHYR_INCLUDE_POSIX_TYPES_H_
10#if !(defined(CONFIG_ARCH_POSIX) && defined(CONFIG_EXTERNAL_LIBC))
14#ifdef CONFIG_NEWLIB_LIBC
15#include <sys/_pthreadtypes.h>
26#ifndef __useconds_t_defined
31#if !defined(CONFIG_NEWLIB_LIBC) && !defined(CONFIG_ARCMWDT_LIBC)
32#ifndef __clockid_t_defined
36#ifndef __timer_t_defined
46#if defined(CONFIG_MINIMAL_LIBC) || defined(CONFIG_PICOLIBC) || defined(CONFIG_ARMCLANG_STD_LIBC) \
47 || defined(CONFIG_ARCMWDT_LIBC)
51BUILD_ASSERT(
sizeof(pthread_attr_t) >=
sizeof(
struct pthread_attr));
65#if defined(CONFIG_MINIMAL_LIBC) || defined(CONFIG_PICOLIBC) || defined(CONFIG_ARMCLANG_STD_LIBC) \
66 || defined(CONFIG_ARCMWDT_LIBC)
78#if defined(CONFIG_MINIMAL_LIBC) || defined(CONFIG_PICOLIBC) || defined(CONFIG_ARMCLANG_STD_LIBC) \
79 || defined(CONFIG_ARCMWDT_LIBC)
99#if defined(CONFIG_MINIMAL_LIBC) || defined(CONFIG_PICOLIBC) || defined(CONFIG_ARMCLANG_STD_LIBC) \
100 || defined(CONFIG_ARCMWDT_LIBC)
106BUILD_ASSERT(
sizeof(pthread_once_t) >=
sizeof(
struct pthread_once));
uint32_t pthread_cond_t
Definition: posix_types.h:72
unsigned long useconds_t
Definition: posix_types.h:27
uint32_t pthread_spinlock_t
Definition: posix_types.h:54
struct pthread_barrierattr pthread_barrierattr_t
int pid_t
Definition: posix_types.h:24
uint32_t pthread_t
Definition: posix_types.h:53
uint32_t pthread_mutex_t
Definition: posix_types.h:60
uint32_t pthread_rwlockattr_t
Definition: posix_types.h:91
unsigned long timer_t
Definition: posix_types.h:37
uint32_t clockid_t
Definition: posix_types.h:33
uint32_t pthread_rwlock_t
Definition: posix_types.h:93
uint32_t pthread_barrier_t
Definition: posix_types.h:85
struct k_sem sem_t
Definition: posix_types.h:57
__UINT32_TYPE__ uint32_t
Definition: stdint.h:90
Definition: posix_types.h:41
void * stack
Definition: posix_types.h:42
uint32_t details[2]
Definition: posix_types.h:43
Definition: posix_types.h:87
int pshared
Definition: posix_types.h:88
Definition: posix_types.h:74
clockid_t clock
Definition: posix_types.h:75
Definition: posix_types.h:62
int type
Definition: posix_types.h:63
Definition: posix_types.h:95
bool flag
Definition: posix_types.h:96