Date: Sat, 18 Feb 2017 22:40:00 +0100 From: Hans Petter Selasky <hps@selasky.org> To: FreeBSD Current <freebsd-current@freebsd.org> Subject: First thread in proc in not passed to thread_dtor eventhandler upon exit Message-ID: <933e132d-289b-330d-b349-584a25e279d4@selasky.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?933e132d-289b-330d-b349-584a25e279d4>