* function called when a thread gets terminated
@ 2005-01-18 5:52 sounak chakraborty
0 siblings, 0 replies; only message in thread
From: sounak chakraborty @ 2005-01-18 5:52 UTC (permalink / raw)
To: linux-kernel
dear sir
i want to design a system moniter for linux
could you just guide me on what will be the basic
architerture like:
i have thought of
kernel(using printk)->logfile(myfile)->application
but in order to make it real time .please correct me
on this architecture
and i am unable to find some functions where the user
as well as kernel threads are actually exited also i
want to distinguish between the user level and kernel
level at that moment.but as i have done during the
forking of thread in fork.c in do_fork function
through the use of
if(p->mm==null)i could check the kernel thread or user
thread but i am unable do so during exit in exit.c in
do_exit function it seems that in somewhere between
execution the tsk->mm is being filled up .
so do i need to find some other place from which i can
find out about exiting threads and processes and what
will i check to see the user thread is exited or
kernel thread.
thanks sounak
________________________________________________________________________
Yahoo! India Matrimony: Find your partner online. http://yahoo.shaadi.com/india-matrimony/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-01-18 5:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-18 5:52 function called when a thread gets terminated sounak chakraborty
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®