Merge pull request #647 from Explorer09/dragonfly-pid-max

DragonFlyBSD PID_MAX is 999999.
This commit is contained in:
Hisham Muhammad 2017-07-10 10:19:26 -03:00 committed by GitHub
commit 978c9e1698
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ int Platform_getMaxPid() {
size_t size = sizeof(maxPid);
int err = sysctlbyname("kern.pid_max", &maxPid, &size, NULL, 0);
if (err) {
return 99999;
return 999999;
}
return maxPid;
}