VLC 4.0.0-dev
Loading...
Searching...
No Matches
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.
 
size_t vlc_fifo_GetCount (const block_fifo_t *fifo)
 Counts blocks in a FIFO.
 
size_t vlc_fifo_GetBytes (const block_fifo_t *fifo)
 Counts bytes in a FIFO.
 
void vlc_fifo_QueueUnlocked (block_fifo_t *fifo, block_t *block)
 Queues a linked-list of blocks into a locked FIFO.
 
block_tvlc_fifo_DequeueUnlocked (block_fifo_t *fifo)
 Dequeues the first block from a locked FIFO, if any.
 
block_tvlc_fifo_DequeueAllUnlocked (block_fifo_t *fifo)
 Dequeues the all blocks from a locked FIFO.
 
block_fifo_tvlc_fifo_New (void)
 Creates a thread-safe FIFO queue of blocks.
 
void vlc_fifo_Delete (block_fifo_t *p_fifo)
 Delete a FIFO created by vlc_fifo_New().
 
block_tvlc_fifo_Get (block_fifo_t *fifo)
 Dequeue the first block from the FIFO.
 
block_tvlc_fifo_Show (block_fifo_t *p_fifo)
 Peeks the first block in the FIFO.