silc_thread_queue_pop_list
SYNOPSIS
SilcDList silc_thread_queue_pop_list(SilcThreadQueue queue, SilcBool block);
DESCRIPTION
Takes everything from the queue and returns the data in a list. The caller must free the returned list with silc_dlist_uninit. If the `block' is FALSE this will never block but will return the queue immediately. If `block' is TRUE this will block if the queue is empty.