Thread (1 message) 1 message, 1 author, 2015-06-11

Re: [PATCH] cn_proc: Flag termination of the last thread in the process

From: Evgeniy Polyakov <hidden>
Date: 2015-06-11 15:26:07
Also in: linux-api

Hi Sergei

29.05.2015, 22:50, "Sergei Zhirikov" [off-list ref]:
There is no easy and reliable way for userspace to get notified
of a process termination. The process connector sends out "exit"
events upon termination of each thread, but it is not trivial for
userspace to tell whether the just-terminated thread was the last
one in the process.

With this change a flag will be set in struct cn_proc for the exit
event of the last thread in the process.
I have no objection against this patch, but it should really go through cn_proc maintainer.
Feel free to add my Acked-by.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help