void myqtt_thread_set_create ( MyQttThreadCreateFunc  create_fn)

Allows to specify the function MyQtt library will call to create a new thread.

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

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

create_fnThe function to be executed to create a new thread. Passing a NULL value restores to the default create handler.
See also