void vortex_thread_set_destroy ( VortexThreadDestroyFunc  destroy_fn)

Allows to specify the function Vortex library will call to destroy a thread's resources.

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

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

Parameters
destroy_fnThe function to be executed to clean up a thread. Passing a NULL value restores to the default destroy handler.
See also
vortex_thread_set_create