Zephyr Project API
3.5.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
pthread_key.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2018 Intel Corporation
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
7
#ifndef ZEPHYR_INCLUDE_POSIX_PTHREAD_KEY_H_
8
#define ZEPHYR_INCLUDE_POSIX_PTHREAD_KEY_H_
9
10
#include <
stdint.h
>
11
12
#ifdef __cplusplus
13
extern
"C"
{
14
#endif
15
16
#if defined(CONFIG_MINIMAL_LIBC) || defined(CONFIG_PICOLIBC) || defined(CONFIG_ARMCLANG_STD_LIBC) \
17
|| defined(CONFIG_ARCMWDT_LIBC)
18
19
#ifdef CONFIG_PTHREAD_IPC
20
21
typedef
struct
{
22
int
is_initialized;
23
int
init_executed;
24
} pthread_once_t;
25
#endif
26
27
/* pthread_key */
28
typedef
uint32_t
pthread_key_t;
29
30
#endif
/* CONFIG_PTHREAD_IPC */
31
32
#ifdef __cplusplus
33
}
34
#endif
35
36
#endif
/* ZEPHYR_INCLUDE_POSIX_PTHREAD_KEY_H_*/
stdint.h
uint32_t
__UINT32_TYPE__ uint32_t
Definition
stdint.h:90
include
zephyr
posix
pthread_key.h
Generated on Tue Mar 5 2024 08:42:06 for Zephyr Project API by
1.9.8