Zephyr Project API
3.3.0
A Scalable Open Source RTOS
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
#ifdef CONFIG_PTHREAD_IPC
11
#include <
zephyr/sys/slist.h
>
12
#include <
zephyr/types.h
>
13
14
#ifdef __cplusplus
15
extern
"C"
{
16
#endif
17
18
#if defined(CONFIG_MINIMAL_LIBC) || defined(CONFIG_PICOLIBC)
19
typedef
struct
{
20
int
is_initialized;
21
int
init_executed;
22
} pthread_once_t;
23
#endif
24
25
/* pthread_key */
26
typedef
uint32_t
pthread_key_t;
27
28
#ifdef __cplusplus
29
}
30
#endif
31
32
#endif
/* CONFIG_PTHREAD_IPC */
33
34
#endif
/* ZEPHYR_INCLUDE_POSIX_PTHREAD_KEY_H_*/
types.h
slist.h
Single-linked list implementation.
uint32_t
__UINT32_TYPE__ uint32_t
Definition:
stdint.h:90
include
zephyr
posix
pthread_key.h
Generated on Fri Jun 9 2023 14:09:43 for Zephyr Project API by
1.9.2