axl_bool myqtt_thread_create ( MyQttThread thread_def,
MyQttThreadFunc  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 MyQttThreadConf documentation.

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.
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

Referenced by myqttd_loop_create().