7#ifndef ZEPHYR_INCLUDE_POSIX_TYPES_H_
8#define ZEPHYR_INCLUDE_POSIX_TYPES_H_
10#ifndef CONFIG_ARCH_POSIX
14#ifdef CONFIG_NEWLIB_LIBC
15#include <sys/_pthreadtypes.h>
24#ifndef __useconds_t_defined
29#if !defined(CONFIG_NEWLIB_LIBC) && !defined(CONFIG_ARCMWDT_LIBC)
30#ifndef __clockid_t_defined
34#ifndef __timer_t_defined
49#if defined(CONFIG_MINIMAL_LIBC) || defined(CONFIG_PICOLIBC) || defined(CONFIG_ARMCLANG_STD_LIBC) \
50 || defined(CONFIG_ARCMWDT_LIBC)
54BUILD_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)
uint32_t pthread_cond_t
Definition: posix_types.h:75
unsigned long useconds_t
Definition: posix_types.h:25
uint32_t pthread_spinlock_t
Definition: posix_types.h:57
struct pthread_barrierattr pthread_barrierattr_t
uint32_t pthread_t
Definition: posix_types.h:56
uint32_t pthread_mutex_t
Definition: posix_types.h:63
uint32_t pthread_rwlockattr_t
Definition: posix_types.h:94
unsigned long timer_t
Definition: posix_types.h:35
uint32_t clockid_t
Definition: posix_types.h:31
struct pthread_rwlock_obj pthread_rwlock_t
uint32_t pthread_barrier_t
Definition: posix_types.h:88
struct k_sem sem_t
Definition: posix_types.h:60
__UINT32_TYPE__ uint32_t
Definition: stdint.h:90
__INT32_TYPE__ int32_t
Definition: stdint.h:74
Thread Structure.
Definition: thread.h:250
Definition: posix_types.h:39
int priority
Definition: posix_types.h:40
uint32_t stacksize
Definition: posix_types.h:42
uint32_t flags
Definition: posix_types.h:43
void * stack
Definition: posix_types.h:41
uint32_t schedpolicy
Definition: posix_types.h:45
int32_t detachstate
Definition: posix_types.h:46
uint32_t delayedstart
Definition: posix_types.h:44
uint32_t initialized
Definition: posix_types.h:47
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:65
int type
Definition: posix_types.h:66
Definition: posix_types.h:96
struct k_sem wr_sem
Definition: posix_types.h:98
struct k_sem reader_active
Definition: posix_types.h:99
struct k_sem rd_sem
Definition: posix_types.h:97
int32_t status
Definition: posix_types.h:100
k_tid_t wr_owner
Definition: posix_types.h:101