Update OpenBSD maximum PID

The source code correctly states that the maximum PID number in
the OpenBSD kernel is fixed in sys/sys/proc.h, however this was
updated in revision 1.215 (two years ago!) from 32766 to 99999.
This commit is contained in:
multiplexd 2018-07-17 18:46:55 +01:00
parent 666e1e76b3
commit 3d79c72e9a
1 changed files with 1 additions and 1 deletions

View File

@ -197,7 +197,7 @@ void Platform_getLoadAverage(double* one, double* five, double* fifteen) {
int Platform_getMaxPid() {
// this is hard-coded in sys/sys/proc.h - no sysctl exists
return 32766;
return 99999;
}
double Platform_setCPUValues(Meter* this, int cpu) {