Hi all,
I have a DUAL P 233 MMX machine. I am interested in knowing
more about how the kernel handles threads. In particular does
the kernel treat a thread as a new peocess assigning it a unique
process id (hope not) or what?
I have started looking in the source code but note sure
where to really look (so many files so little time).
Basically I want to know which processor a thread is on and
what that threads parent process is. It would also be good to
know how many threads are on each CPU. I also want to know what
the last processor that thread was on (if possible) to see how
much switching is going on between CPU's.
Some of my apps I know may be using threads, but others I am
not sure (Does Xwrapper use threads -> to much code there for me
to look thru to find out).
Why you ask?
I am getting random I/O - X crashes. I have 7 different
window managers and some seem to work better than others.
Usually I am connected to the net and have AT LEAST 1 Netscape
browser window open, and often many other apps.
I have heard that Netscape uses threads, but I believe that
they are user space threads as opposed to kernel space (don't
quote me on that). As I have a glibc (libc2.1) system I know
that there can be threads. I also have lots of GTK apps that
could be using the gthreads wrapper functions, and some seem to
help it crash more than others.
Although it only dumps me back to the console (is that a
hint I should be using the console more <lol>), it is quite
annoying.
I have tried psets, but could not compile the pset
utilities.
Joe
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
-
Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/mentre/smp-faq/
To Unsubscribe: send "unsubscribe linux-smp" to [EMAIL PROTECTED]