First thread in proc in not passed to thread_dtor eventhandler upon exit

From: Hans Petter Selasky <hps_at_selasky.org>
Date: Sat, 18 Feb 2017 22:40:00 +0100
Hi,

Is the following a bug or feature. I observe that the first thread in a 
procedure is not passed to thread_dtor as declared by the following 
eventhandler, when the procedure exits.

EVENTHANDLER_DECLARE(thread_dtor, thread_dtor_fn);

Is this a bug or feature?

I see a couple of clients in the kernel and if the first thread in proc 
is simply recycled by re-init, we're leaking data for these clients?
And I'm planning to add one more for the LinuxKPI.

Any insight?

--HPS
Received on Sat Feb 18 2017 - 20:40:45 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:10 UTC