VLC 4.0.0-dev
|
Thread-safe queues with an end flag. More...
Functions | |
static void | vlc_queue_Kill (vlc_queue_t *q, bool *restrict tombstone) |
Marks a queue ended. | |
static void * | vlc_queue_DequeueKillable (vlc_queue_t *q, const bool *tombstone) |
Dequeues one entry from a killable queue. | |
Thread-safe queues with an end flag.
|
inlinestatic |
Dequeues one entry from a killable queue.
References vlc_queue_DequeueUnlocked(), vlc_queue_IsEmpty(), vlc_queue_Lock(), vlc_queue_Unlock(), and vlc_queue_Wait().
Referenced by vlc_stream_fifo_Block().
|
inlinestatic |
Marks a queue ended.
References vlc_queue_Lock(), vlc_queue_Signal(), and vlc_queue_Unlock().