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>
24#if !defined(CONFIG_ARCMWDT_LIBC)
28#ifndef __useconds_t_defined
33#if !defined(CONFIG_NEWLIB_LIBC) && !defined(CONFIG_ARCMWDT_LIBC)
34#ifndef __clockid_t_defined
38#ifndef __timer_t_defined
48#if defined(CONFIG_MINIMAL_LIBC) || defined(CONFIG_PICOLIBC) || defined(CONFIG_ARMCLANG_STD_LIBC) \
49 || defined(CONFIG_ARCMWDT_LIBC)
53BUILD_ASSERT(
sizeof(pthread_attr_t) >=
sizeof(
struct pthread_attr));
68#if defined(CONFIG_MINIMAL_LIBC) || defined(CONFIG_PICOLIBC) || defined(CONFIG_ARMCLANG_STD_LIBC) \
69 || defined(CONFIG_ARCMWDT_LIBC)
81#if defined(CONFIG_MINIMAL_LIBC) || defined(CONFIG_PICOLIBC) || defined(CONFIG_ARMCLANG_STD_LIBC) \
82 || defined(CONFIG_ARCMWDT_LIBC)
102#if defined(CONFIG_MINIMAL_LIBC) || defined(CONFIG_PICOLIBC) || defined(CONFIG_ARMCLANG_STD_LIBC) \
103 || defined(CONFIG_ARCMWDT_LIBC)
109BUILD_ASSERT(
sizeof(pthread_once_t) >=
sizeof(
struct pthread_once));
uint32_t pthread_cond_t
Definition: posix_types.h:75
unsigned long useconds_t
Definition: posix_types.h:29
uint32_t pthread_spinlock_t
Definition: posix_types.h:56
struct pthread_barrierattr pthread_barrierattr_t
int pid_t
Definition: posix_types.h:25
uint32_t pthread_t
Definition: posix_types.h:55
uint32_t pthread_mutex_t
Definition: posix_types.h:62
uint32_t pthread_rwlockattr_t
Definition: posix_types.h:94
unsigned long timer_t
Definition: posix_types.h:39
uint32_t clockid_t
Definition: posix_types.h:35
uint32_t pthread_rwlock_t
Definition: posix_types.h:96
uint32_t pthread_barrier_t
Definition: posix_types.h:88
struct k_sem sem_t
Definition: posix_types.h:59
__UINT32_TYPE__ uint32_t
Definition: stdint.h:90
Definition: posix_types.h:43
void * stack
Definition: posix_types.h:44
uint32_t details[2]
Definition: posix_types.h:45
Definition: posix_types.h:90
int pshared
Definition: posix_types.h:91
Definition: posix_types.h:77
clockid_t clock
Definition: posix_types.h:78
Definition: posix_types.h:64
unsigned char type
Definition: posix_types.h:65
bool initialized
Definition: posix_types.h:66
Definition: posix_types.h:98
bool flag
Definition: posix_types.h:99