threads & /proc

From: Anton Petrusevich (casus@mail.ru)
Date: Sat Nov 24 2001 - 00:38:57 EST


Hi Guys,

Well, I'm a bit surprised that nobody asked it yet. Do we have sound
thread support? I am able to put my linux-2.4.15-pre{1,7} --
definitely, and if I remember right, 2.4.14-pre{7,8} too in some strange
state, when any program like top, killall or ps that wanna get some
information from /proc (even midnight commander if you are trying to
look at state of any process) blocks indefinitely. It goes to unclean
shutdown, for example. kill doesn block, but do nothing. (I tried to
kill processes from ls /proc list). And I see it only after several
[unsuccessful] runs of my multithreaded program. Well, I can't say
it's a correctly written program, I am still looking for bugs there.
I don't have 100% way to get into this state, but I suspect some locking
issues with /proc.

-- 
Anton
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Nov 30 2001 - 21:00:16 EST