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 DestroyNamedPipe ¶
DestroyNamedPipe is a no-op on windows.
Types ¶
type Fifo ¶
type Fifo interface { io.ReadWriter io.Closer ipc.Destroyer }
Fifo represents a First-In-First-Out object
type NamedPipe ¶
type NamedPipe struct {
// contains filtered or unexported fields
}
NamedPipe is a first-in-first-out ipc mechanism.
func NewNamedPipe ¶
NewNamedPipe creates a new windows named pipe.
name - object name. flag - flag is a combination of open flags from 'os' package. perm - object's permission bits.
func (*NamedPipe) Destroy ¶
Destroy does the same as Close does. It is impossible to destroy named pipe explicitly, it will be destroyed by the OS when all its handles are closed.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.