Function multififo_islocked

Function Documentation

static inline size_t multififo_islocked(const struct multififo *const fifo)

Determine if the multi-FIFO is currently locked (busy) or is safe for child processes to try to receive data from.

Parameters:

fifo – The multi-FIFO handle.

Returns:

# elements in the multi-FIFO, or 0 on ERROR.