Re: Threads question

stephen farrell (sfarrell@healthquiz.com)
25 Apr 1997 14:50:51 -0500


alan@lxorguk.ukuu.org.uk (Alan Cox) writes:

does linuxThreads mix kernel and user-mode threads like solaris
threads? if not, how does one do this?

--steve farrell

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