void myqttd_loop_unwatch_descriptor ( MyQttdLoop loop,
int  descriptor,
axl_bool  wait_until_unwatched 
)

Allows to unwatch the provided descriptor from the provided loop.

Parameters
loopThe loop where the descriptor will be unwatched (if found).
descriptorThe descriptor to be unwatched from the list.
wait_until_unwatchedIf axl_true, the caller will be blocked until the descriptor is removed from the waiting list, otherwise, the unwatch operation will progress without blocking.

References myqtt_async_queue_new(), myqtt_async_queue_pop(), myqtt_async_queue_push(), and myqtt_async_queue_unref().