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

2017-02-19 Thread Konstantin Belousov
On Sun, Feb 19, 2017 at 09:43:24AM +0100, Hans Petter Selasky wrote: > On 02/19/17 04:54, Konstantin Belousov wrote: > > On Sat, Feb 18, 2017 at 10:40:00PM +0100, Hans Petter Selasky wrote: > >> Hi, > >> > >> Is the following a bug or feature. I observe that the first thread in a > >> procedure is

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

2017-02-19 Thread Hans Petter Selasky
On 02/19/17 04:54, Konstantin Belousov wrote: On Sat, Feb 18, 2017 at 10:40:00PM +0100, Hans Petter Selasky wrote: 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 exi

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

2017-02-18 Thread Konstantin Belousov
On Sat, Feb 18, 2017 at 10:40:00PM +0100, Hans Petter Selasky wrote: > 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_

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

2017-02-18 Thread Hans Petter Selasky
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 t