3 ms·
> Max number of processes is 8. The process table is a fixed size array, of 8 entries. The max number of processes is the compile-time configuration knob NPROC
by LukeShu 8y ago
> Max number of processes is 8. The process table is a fixed size array, of 8 entries.
The max number of processes is the compile-time configuration knob NPROC in `config/Configuration`. The stock version of the file sets it to 100. Only if you remove that line do you hit the fallback in `include/process.h`:
#ifndef NPROC
#define NPROC 8
#endif
- ww520 8y agoAh, good to know. I didn't go through the build process; just went by the define in the header file.