How can i get the max. number of tasks in kernel 2.4?
In 2.2 there was a macro NR_TASKS
Daniel
--
--
In God we Trust, all others please submit signed PGP/X.509 key
Daniel Stutz <[email protected]> | Product Development
Astaro AG | http://www.astaro.de | +49-721-490069-0 | Fax -55
On Mon, Apr 09, 2001 at 05:24:19PM -0700, Daniel Stutz wrote:
> How can i get the max. number of tasks in kernel 2.4?
>
> In 2.2 there was a macro NR_TASKS
2.4 has no hardcoded limit on the number of processes. So NR_TASKS is
not necessary any longer.
But you can read the current value of max threads from
/proc/sys/kernel/threads-max.
Robert
--
Robert Schiele mailto:[email protected]
Tel./Fax: +49-621-10059 http://webrum.uni-mannheim.de/math/rschiele/