Typedef cimba_thread_init_func

Typedef Documentation

void *() cimba_thread_init_func (uint64_t tid, void *usrarg)

Defines a prototype for an optional user-provided function to execute when initializing a pthread. The first argument is the thread id assigned by cimba_run_experiment, an unsigned 64-bit integer. The second argument is whatever the user code wants it to be, user defined.