axl_bool vortex_thread_create ( VortexThread thread_def,
VortexThreadFunc  func,
axlPointer  user_data,
  ... 
)

Creates a new thread, executing the function provided, passing the referece received to the function (user_data).

For complete examples on how to create threads, see VortexThreadConf documentation.

Parameters
thread_defA reference to the thread identifier created by the function. This parameter is not optional.
funcThe function to execute.
user_dataUser defined data to be passed to the function to be executed by the newly created thread.
Returns
The function returns axl_true if the thread was created properly and the variable thread_def is defined with the particular thread reference created.
See also
vortex_thread_destroy