axl_bool vortex_thread_destroy ( VortexThread thread_def,
axl_bool  free_data 

Wait for the provided thread to finish, destroy its resources and optionally release its pointer.

thread_def A reference to the thread that must be destroyed.
free_data Boolean that set whether the thread pointer should be released ot not.
axl_true if the destroy operation was ok, otherwise axl_false is returned.