![]() |
Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
|
#include <file-descriptor.hh>
Public Member Functions | |
| void | create () |
| void | notify () |
| void | drain () |
Public Attributes | |
| Pipe | pipe |
A useful primitive for asynchronous poll() loops to notify about some work completing that gets polled alongside other file descriptors.
| void nix::unix::SelfPipe::drain | ( | ) |
Drain all data from the pipe.
| void nix::unix::SelfPipe::notify | ( | ) |
Write some data to the pipe in a non-blocking manner.