|
Helper Reference Manual
1.7.1
|
ODP Linux helper API. More...
Go to the source code of this file.
Data Structures | |
| struct | odph_linux_thr_params_t |
| Thread parameter for Linux pthreads and processes. More... | |
| struct | odph_linux_pthread_t |
| Linux pthread state information. More... | |
| struct | odph_linux_process_t |
| Linux process state information. More... | |
| struct | odph_thread_param_t |
| Thread parameters (pthreads and processes) More... | |
| struct | odph_thread_start_args_t |
| Helper internal thread start arguments. More... | |
| struct | odph_thread_t |
| Thread state information. More... | |
| struct | odph_helper_options_t |
| Linux helper options. More... | |
| struct | odph_thread_common_param_t |
| Common parameters for odph_thread_create() call. More... | |
| struct | odph_thread_join_result_t |
| Thread join result. More... | |
Functions | |
| void | odph_thread_param_init (odph_thread_param_t *param) |
| Initialize thread params. More... | |
| void | odph_thread_common_param_init (odph_thread_common_param_t *param) |
| Initialize thread common params. More... | |
| int | odph_thread_create (odph_thread_t thread[], const odph_thread_common_param_t *param, const odph_thread_param_t thr_param[], int num) |
| Create and pin threads (as Linux pthreads or processes) More... | |
| int | odph_thread_join (odph_thread_t thread[], int num) |
| Wait previously launched threads to exit. More... | |
| int | odph_thread_join_result (odph_thread_t thread[], odph_thread_join_result_t res[], int num) |
| Wait previously launched threads to exit. More... | |
| int | odph_odpthread_setaffinity (const int cpu) |
| Set CPU affinity of the current odp thread. More... | |
| int | odph_odpthread_getaffinity (void) |
| Get CPU affinity of the current odp thread. More... | |
| int | odph_parse_options (int argc, char *argv[]) |
| Parse linux helper options. More... | |
| int | odph_options (odph_helper_options_t *options) |
| Get linux helper options. More... | |
ODP Linux helper API.
This file is an optional helper to ODP APIs. These functions are provided to ease common setups in a Linux system. User is free to implement the same setups in other ways (not via this API).
Definition in file threads.h.