API Reference Manual 1.51.0
Loading...
Searching...
No Matches
api/spec/thread.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright (c) 2013-2018 Linaro Limited
3 * Copyright (c) 2022-2023 Nokia
4 */
5
12#ifndef ODP_API_SPEC_THREAD_H_
13#define ODP_API_SPEC_THREAD_H_
14#include <odp/visibility_begin.h>
15
17
18#ifdef __cplusplus
19extern "C" {
20#endif
21
40int odp_thread_id(void);
41
53
64
75
86
97
108
117
122#ifdef __cplusplus
123}
124#endif
125
126#include <odp/visibility_end.h>
127#endif
ODP thread.
enum odp_thread_type_e odp_thread_type_t
Thread type.
int odp_thread_worker_count_max(void)
Maximum worker thread count.
int odp_thread_worker_count(void)
Worker thread count.
int odp_thread_control_count_max(void)
Maximum control thread count.
int odp_thread_control_count(void)
Control thread count.
odp_thread_type_t odp_thread_type(void)
Thread type.
int odp_thread_count(void)
Thread count.
int odp_thread_count_max(void)
Maximum thread count.
int odp_thread_id(void)
Get thread identifier.