axl_bool valvula_thread_create ( ValvulaThread thread_def,
ValvulaThreadFunc  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 ValvulaThreadConf 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
valvula_thread_destroy