Thread configuration its to modify default behaviour provided by the thread creation API.

Enumerator
MYQTT_THREAD_CONF_END 

Marker used to signal myqtt_thread_create that the configuration list is finished.

The following is an example on how to create a new thread without providing any configuration, using defaults:

1 MyQttThread thread;
2 if (! myqtt_thread_created (&thread,
3  some_start_function, NULL,
4  MYQTT_THREAD_CONF_END)) {
5  // failed to create the thread
6 }
7 // thread created
MYQTT_THREAD_CONF_JOINABLE 

Allows to configure if the thread create can be joined and waited by other.

Default state for all thread created with myqtt_thread_create is true, that is, the thread created is joinable.

If configured this value, you must provide as the following value either axl_true or axl_false.

1 MyQttThread thread;
2 if (! myqtt_thread_create (&thread, some_start_function, NULL,
3  MYQTT_THREAD_CONF_JOINABLE, axl_false,
4  MYQTT_THREAD_CONF_END)) {
5  // failed to create the thread
6 }
7 
8 // Nice! thread created
MYQTT_THREAD_CONF_DETACHED 

Allows to configure that the thread is in detached state, so no thread can join and wait for it for its termination but it will also provide.