1 #ifndef _LINUX_THREADS_H
2 #define _LINUX_THREADS_H
3
4 #include <linux/config.h>
5
6 /*
7 * The default limit for the nr of threads is now in
8 * /proc/sys/kernel/max-threads.
9 */
10
11 #ifdef CONFIG_SMP
12 #define NR_CPUS 32 /* Max processors that can be running in SMP */
13 #else
14 #define NR_CPUS 1
15 #endif
16
17 #define MIN_THREADS_LEFT_FOR_ROOT 4
18
19 /*
20 * This controls the maximum pid allocated to a process
21 */
22 #define PID_MAX 0x8000
23
24 #endif
25
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.