18 #ifndef CORE_POSIX_LINUX_PROC_PROCESS_OOM_SCORE_ADJ_H_ 19 #define CORE_POSIX_LINUX_PROC_PROCESS_OOM_SCORE_ADJ_H_ 87 static int min_value();
93 static int max_value();
101 return (min_value() <= value) && (value <= max_value());
131 #endif // CORE_POSIX_LINUX_PROC_PROCESS_OOM_SCORE_ADJ_H_ #define CORE_POSIX_DLL_PUBLIC
The Process class models a process and possible operations on it.
CORE_POSIX_DLL_PUBLIC const posix::Process & operator>>(const posix::Process &process, OomAdj &adj)
Read the OomAdj value for a process instance.
bool is_valid() const
is_valid checks whether the contained value is within the predefined bounds.
CORE_POSIX_DLL_PUBLIC const posix::Process & operator<<(const posix::Process &process, const OomAdj &adj)
Write the OomAdj value for a process instance.