Messages in this thread | | | Date | Mon, 14 Jun 1999 11:08:38 +0200 | From | Matthew Wilcox <> | Subject | Re: size of pid_t (was: Re: NR_TASKS as config option) |
| |
On Sun, Jun 13, 1999 at 08:47:08PM +0200, Andries.Brouwer@cwi.nl wrote: > #define PID_MAX 0x8000 > in <linux/tasks.h>, and at first sight not much goes wrong > if we pick some larger number for PID_MAX, like 0x7fffffff. > (There are some comparisons around, so for simplicity we should > keep PID_MAX positive.)
Also, a negative pid_t is used to represent the process group in some calls, notably the SIOCSPGRP and SIOCGPGRP ioctls.
-- Matthew Wilcox <willy@bofh.ai> "Windows and MacOS are products, contrived by engineers in the service of specific companies. Unix, by contrast, is not so much a product as it is a painstakingly compiled oral history of the hacker subculture." - N Stephenson
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |