source:
GPL/include/linux/threads.h@
1
Last change on this file since 1 was 1, checked in by , 20 years ago | |
---|---|
File size: 414 bytes |
Line | |
---|---|
1 | #ifndef _LINUX_THREADS_H |
2 | #define _LINUX_THREADS_H |
3 | |
4 | /* |
5 | * The default limit for the nr of threads is now in |
6 | * /proc/sys/kernel/max-threads. |
7 | */ |
8 | |
9 | #ifdef __SMP__ |
10 | #define NR_CPUS 32 /* Max processors that can be running in SMP */ |
11 | #else |
12 | #define NR_CPUS 1 |
13 | #endif |
14 | |
15 | #define MIN_THREADS_LEFT_FOR_ROOT 4 |
16 | |
17 | /* |
18 | * This controls the maximum pid allocated to a process |
19 | */ |
20 | #define PID_MAX 0x8000 |
21 | |
22 | #endif |
Note:
See TracBrowser
for help on using the repository browser.