get_pid() question

From: Manfred Spraul (manfred@colorfullife.com)
Date: Sun Jun 25 2000 - 05:16:23 EST


Why is the pid value limited to 15 bits on _all_ architectures?
I read somewhere that libc5-i386 is restricted to signed short, but what
about the other architectures?

And get_pid() doesn't contain an "out of pid" detection. AFAICS one
thread can block 3 pid values (pid, pgrp, session), we must limit the
number of threads to 10.000 on i386.

--
	Manfred

- 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/



This archive was generated by hypermail 2b29 : Mon Jun 26 2000 - 21:00:06 EST