void valvula_thread_set_create ( ValvulaThreadCreateFunc  create_fn)

Allows to specify the function Valvula library will call to create a new thread.

If the user does not have reason to change the default thread creation mechanism this function can be ignored.

NOTE: The thread mechanism functions (valvula_thread_set_create and valvula_thread_set_destroy) must be set before any other Valvula API calls are made. Changing the thread mechanism functions while Valvula is running will most likely lead to memory corruption or program crashes.

create_fnThe function to be executed to create a new thread. Passing a NULL value restores to the default create handler.
See also