![]() |
Mads
Multi-Agent Distributed System
|
#include <fd_limit.hpp>
Public Attributes | |
| bool | supported = false |
| uint64_t | soft = 0 |
| uint64_t | hard = 0 |
The descriptor limits in force for this process. supported is false where the concept does not apply (Windows), in which case soft/hard are 0 and nothing should be reported as a limit.
Definition at line 85 of file fd_limit.hpp.
| uint64_t Mads::detail::FdLimits::hard = 0 |
The ceiling this process may raise soft to without privileges. Already clamped to the kernel's own per-process cap (fs.nr_open on Linux, kern.maxfilesperproc on macOS), so a plan built from it never proposes a target that setrlimit() would reject.
Definition at line 92 of file fd_limit.hpp.
Referenced by Mads::detail::describe_fd_limits(), Mads::detail::plan_fd_limit(), and Mads::detail::query_fd_limits().
| uint64_t Mads::detail::FdLimits::soft = 0 |
Definition at line 87 of file fd_limit.hpp.
Referenced by Mads::detail::describe_fd_limits(), Mads::detail::plan_fd_limit(), and Mads::detail::query_fd_limits().
| bool Mads::detail::FdLimits::supported = false |
Definition at line 86 of file fd_limit.hpp.
Referenced by Mads::detail::apply_fd_limit(), Mads::detail::plan_fd_limit(), and Mads::detail::query_fd_limits().