Documentation ¶
Overview ¶
Package fifo implements first-in-first-out objects logic.
Index ¶
Constants ¶
View Source
const ( // O_NONBLOCK flag makes Fifo open operation nonblocking. O_NONBLOCK = common.O_NONBLOCK )
Variables ¶
This section is empty.
Functions ¶
func DestroyUnixFIFO ¶
DestroyUnixFIFO permanently removes the FIFO.
Types ¶
type Fifo ¶
type Fifo interface { io.ReadWriter io.Closer ipc.Destroyer }
Fifo represents a First-In-First-Out object
type UnixFifo ¶
type UnixFifo struct {
// contains filtered or unexported fields
}
UnixFifo is a first-in-first-out unix ipc mechanism.
func NewUnixFifo ¶
NewUnixFifo creates a new unix FIFO.
name - object name. flag - flag is a combination of open flags from 'os' package. perm = object permissions.
Click to show internal directories.
Click to hide internal directories.