36 _user_data = user_data;
void * get_user_data() const
Returns the void pointer that is passed to the thread function.
ThreadFunc * get_function() const
Returns the function that is called when the thread runs.
void set_function(ThreadFunc *function)
Replaces the function that is called when the thread runs.
void set_user_data(void *user_data)
Replaces the void pointer that is passed to the thread function.