Helper Reference Manual  1.7.1
pthread.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright (c) 2017-2018 Linaro Limited
3  */
4 
15 #ifndef ODPH_LINUX_PTHREAD_H_
16 #define ODPH_LINUX_PTHREAD_H_
17 
18 #include <odp/helper/deprecated.h>
19 #include <odp/helper/threads.h>
20 #include <odp_api.h>
21 
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25 
47  const odp_cpumask_t *mask,
48  const odph_linux_thr_params_t *thr_params);
49 
61 
66 #ifdef __cplusplus
67 }
68 #endif
69 
70 #endif
Macro for deprecated API definitions.
#define ODPH_DEPRECATE(x)
Macro to deprecate helper API definitions.
Definition: deprecated.h:30
int odph_linux_pthread_create(odph_linux_pthread_t *pthread_tbl, const odp_cpumask_t *mask, const odph_linux_thr_params_t *thr_params)
Creates and launches pthreads.
void odph_linux_pthread_join(odph_linux_pthread_t *thread_tbl, int num)
Waits pthreads to exit.
Linux pthread state information.
Definition: threads.h:46
Thread parameter for Linux pthreads and processes.
Definition: threads.h:38
ODP Linux helper API.