- nproc doesn't exist on OS X, let's use sysctl instead.
- running system() on OS X takes a lock, so we can't do that on multiple threads.
Details
Diff Detail
Event Timeline
Yay, thanks for doing this!
lib/Fuzzer/FuzzerIO.cpp | ||
---|---|---|
97 | This code is gone, you should not need this chunk any more, | |
lib/Fuzzer/FuzzerUtil.cpp | ||
65 | I would like to minimize the number of ifdefs in the code. Also, if we need a simple if, something like this is better: // in the code: If we absolutely have to use ifdefs, make them lool like #ifdef APPLE #endif | |
78 | Assuming this code works on any Posix OS, let's just use your code and not have extra ifdefs |
This code is gone, you should not need this chunk any more,