silc_thread_queue_alloc

SYNOPSIS

    SilcThreadQueue silc_thread_queue_alloc(void);

DESCRIPTION

Allocates new thread queue context and returns it. Returns NULL in case of error and sets the silc_errno. The returned context is immediately ready to be used. For a thread to be able to use the queue it must first connect to it by calling silc_thread_queue_connect. The thread that creates the queue automatically connects to the queue.