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));
66#if defined(CONFIG_MINIMAL_LIBC) || defined(CONFIG_PICOLIBC) || defined(CONFIG_ARMCLANG_STD_LIBC) \
67 || defined(CONFIG_ARCMWDT_LIBC)
79#if defined(CONFIG_MINIMAL_LIBC) || defined(CONFIG_PICOLIBC) || defined(CONFIG_ARMCLANG_STD_LIBC) \
80 || defined(CONFIG_ARCMWDT_LIBC)
100#if defined(CONFIG_MINIMAL_LIBC) || defined(CONFIG_PICOLIBC) || defined(CONFIG_ARMCLANG_STD_LIBC) \
101 || defined(CONFIG_ARCMWDT_LIBC)
107BUILD_ASSERT(
sizeof(pthread_once_t) >=
sizeof(
struct pthread_once));
uint32_t pthread_cond_t
Definition: posix_types.h:73
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:92
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:94
uint32_t pthread_barrier_t
Definition: posix_types.h:86
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:88
int pshared
Definition: posix_types.h:89
Definition: posix_types.h:75
clockid_t clock
Definition: posix_types.h:76
Definition: posix_types.h:62
unsigned char type
Definition: posix_types.h:63
bool initialized
Definition: posix_types.h:64
Definition: posix_types.h:96
bool flag
Definition: posix_types.h:97