Nix 2.26.3
Nix, the purely functional package manager; unstable internal interfaces
 
Loading...
Searching...
No Matches
muxable-pipe.hh File Reference
#include "file-descriptor.hh"
#include <poll.h>

Go to the source code of this file.

Classes

struct  nix::MuxablePipePollState
 

Typedefs

using nix::MuxablePipe
 

Typedef Documentation

◆ MuxablePipe

Initial value:
Definition file-descriptor.hh:181

An "muxable pipe" is a type of pipe supporting endpoints that wait for events on multiple pipes at once.

On Unix, this is just a regular anonymous pipe. On Windows, this has to be a named pipe because we need I/O Completion Ports to wait on multiple pipes.