Helper Reference Manual
1.7.1
|
Common parameters for odph_thread_create() call. More...
#include <threads.h>
Data Fields | |
odp_instance_t | instance |
ODP instance handle. More... | |
const odp_cpumask_t * | cpumask |
CPU mask for thread pinning. | |
int | thread_model |
Select between Linux pthreads and processes. More... | |
int | sync |
Synchronized thread creation. More... | |
uint64_t | sync_timeout |
Synchronized thread creation timeout in nanoseconds. More... | |
int | share_param |
Thread parameter sharing. More... | |
Common parameters for odph_thread_create() call.
odp_instance_t odph_thread_common_param_t::instance |
ODP instance handle.
This is used for all threads, instead of 'instance' field of per thread parameters (odph_thread_param_t).
int odph_thread_common_param_t::thread_model |
int odph_thread_common_param_t::sync |
uint64_t odph_thread_common_param_t::sync_timeout |
Synchronized thread creation timeout in nanoseconds.
When synchronized thread creation has been requested, waiting for the synchronization signal times out once the time indicated by this parameter has passed.
If this parameter is 0, the default value is used.
Default value is ODP_TIME_SEC_IN_NS.
int odph_thread_common_param_t::share_param |