Re: Threads question

Alan Cox (alan@lxorguk.ukuu.org.uk)
Thu, 24 Apr 1997 22:46:22 +0100 (BST)


> to say that an average application could have 100 windows, so that an
> average system could easily have 1000 windows totalling 1000 threads.
> Can the linux kernel cope with thousands of threads?

Yes but your application would be so slow it would be unusable. 1000 threads
is 1000 stacks, 1000 user stacks, so at least 8Mb. Its best to mix user
mode threads with a sensible number of kernel threads.

Xlib btw isnt threaded