VLC 4.0.0-dev
fifo.c File Reference
Include dependency graph for fifo.c:

Data Structures

struct  vlc_fifo_t
 Internal state for block queues. More...
 

Functions

bool vlc_fifo_Held (const block_fifo_t *fifo)
 Checks whether the vlc_fifo_t object is being locked. More...
 
size_t vlc_fifo_GetCount (const block_fifo_t *fifo)
 Counts blocks in a FIFO. More...
 
size_t vlc_fifo_GetBytes (const block_fifo_t *fifo)
 Counts bytes in a FIFO. More...
 
void vlc_fifo_QueueUnlocked (block_fifo_t *fifo, block_t *block)
 Queues a linked-list of blocks into a locked FIFO. More...
 
block_tvlc_fifo_DequeueUnlocked (block_fifo_t *fifo)
 Dequeues the first block from a locked FIFO, if any. More...
 
block_tvlc_fifo_DequeueAllUnlocked (block_fifo_t *fifo)
 Dequeues the all blocks from a locked FIFO. More...
 
block_fifo_tvlc_fifo_New (void)
 Creates a thread-safe FIFO queue of blocks. More...
 
void vlc_fifo_Delete (block_fifo_t *p_fifo)
 Delete a FIFO created by vlc_fifo_New(). More...
 
block_tvlc_fifo_Get (block_fifo_t *fifo)
 Dequeue the first block from the FIFO. More...
 
block_tvlc_fifo_Show (block_fifo_t *p_fifo)
 Peeks the first block in the FIFO. More...