silc_thread_queue_push

SYNOPSIS

    void silc_thread_queue_push(SilcThreadQueue queue, int pipe_index,
                                void *data, SilcBool demux);

DESCRIPTION

Pushes the `data' into the thread queue. The data will become immediately available in the queue for other threads. The `pipe_index' specifies the pipe to push the data into. First pipe has index 0, second has index 1, and so on. If there is only one pipe the index is always 0.

If the `demux' is TRUE this will perform demuxing; data pushed to one pipe will be pushed to all pipes. In this case the `pipe_index' is ignored. Each pipe will return the same data when popped.