Skip to contentSkip to conversation

Can I get a notification inside the kernel, when a random process exits or dies

DISCUSSION Praveen CK 1 participant 1 message Nov 9, 2004

lore
Share & tools
lore

Praveen CK

author
#0 lore raw

Hi All,

Is there a mechanism through which I can register a function within the kernel such that, the registered function gets called, whenever a process exits or dies.

Basically, I am implementing socket kind of a communication mechanism. Here, if the process that created the socket dies, I want to release the socket and all associated data structures inside the kernel.

Regards,
Praveen C K.

________________________________________________________________________
Yahoo! India Matrimony: Find your life partner online Go to: http://yahoo.shaadi.com/india-matrimony