![]() |
Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
|
Public Member Functions | |
| Pid (const Pid &)=delete | |
| Pid (Pid &&other) noexcept | |
| Pid & | operator= (const Pid &)=delete |
| Pid & | operator= (Pid &&other) noexcept |
| Pid (pid_t pid) | |
| void | operator= (pid_t pid) |
| operator pid_t () const | |
| operator bool () const noexcept | |
| int | kill (bool allowInterrupts=true) |
| int | wait (bool allowInterrupts=true) |
| void | setSeparatePG (bool separatePG) |
| void | setKillSignal (int signal) |
| void | setKillTimeout (std::chrono::milliseconds duration) |
| pid_t | release () |
Friends | |
| void | swap (Pid &lhs, Pid &rhs) noexcept |
|
explicitnoexcept |
Whether this holds a child at all, as opposed to having been default-constructed, moved from, or waited for.