Re: [Xenomai-core] [PATCH] Flush xnfree backlog after thread deletion in root context

2008-05-13 Thread Gilles Chanteperdrix
On Tue, May 13, 2008 at 12:46 PM, Jan Kiszka <[EMAIL PROTECTED]> wrote: > > Gilles Chanteperdrix wrote: > > No, it is supposed to work. The sched->zombie points to this zombie, > > which is finalized in xnpod_finish_unlocked_switch > > OK. However, I would still prefer to get xnfreesync out of t

Re: [Xenomai-core] [PATCH] Flush xnfree backlog after thread deletion in root context

2008-05-13 Thread Jan Kiszka
Gilles Chanteperdrix wrote: > On Tue, May 13, 2008 at 11:32 AM, Jan Kiszka <[EMAIL PROTECTED]> wrote: >> Philippe Gerum wrote: >> > Gilles Chanteperdrix wrote: >> >> On Tue, May 13, 2008 at 11:10 AM, Jan Kiszka <[EMAIL PROTECTED]> wrote: >> >>> Gilles Chanteperdrix wrote: >> >>> > On Tue, May

Re: [Xenomai-core] [PATCH] Flush xnfree backlog after thread deletion in root context

2008-05-13 Thread Gilles Chanteperdrix
On Tue, May 13, 2008 at 11:32 AM, Jan Kiszka <[EMAIL PROTECTED]> wrote: > Philippe Gerum wrote: > > Gilles Chanteperdrix wrote: > >> On Tue, May 13, 2008 at 11:10 AM, Jan Kiszka <[EMAIL PROTECTED]> wrote: > >>> Gilles Chanteperdrix wrote: > >>> > On Tue, May 13, 2008 at 10:26 AM, Jan Kiszka <[

Re: [Xenomai-core] [PATCH] Flush xnfree backlog after thread deletion in root context

2008-05-13 Thread Jan Kiszka
Philippe Gerum wrote: > Gilles Chanteperdrix wrote: >> On Tue, May 13, 2008 at 11:10 AM, Jan Kiszka <[EMAIL PROTECTED]> wrote: >>> Gilles Chanteperdrix wrote: >>> > On Tue, May 13, 2008 at 10:26 AM, Jan Kiszka <[EMAIL PROTECTED]> wrote: >>> >> @@ -1236,6 +1236,9 @@ void xnpod_delete_thread(xnthr

Re: [Xenomai-core] [PATCH] Flush xnfree backlog after thread deletion in root context

2008-05-13 Thread Philippe Gerum
Gilles Chanteperdrix wrote: > On Tue, May 13, 2008 at 11:10 AM, Jan Kiszka <[EMAIL PROTECTED]> wrote: >> Gilles Chanteperdrix wrote: >> > On Tue, May 13, 2008 at 10:26 AM, Jan Kiszka <[EMAIL PROTECTED]> wrote: >> >> @@ -1236,6 +1236,9 @@ void xnpod_delete_thread(xnthread_t *thr >> >>

Re: [Xenomai-core] [PATCH] Flush xnfree backlog after thread deletion in root context

2008-05-13 Thread Gilles Chanteperdrix
On Tue, May 13, 2008 at 11:10 AM, Jan Kiszka <[EMAIL PROTECTED]> wrote: > Gilles Chanteperdrix wrote: > > On Tue, May 13, 2008 at 10:26 AM, Jan Kiszka <[EMAIL PROTECTED]> wrote: > >> @@ -1236,6 +1236,9 @@ void xnpod_delete_thread(xnthread_t *thr > >> xnthread_cleanup_tcb(thread)

Re: [Xenomai-core] [PATCH] Flush xnfree backlog after thread deletion in root context

2008-05-13 Thread Jan Kiszka
Gilles Chanteperdrix wrote: > On Tue, May 13, 2008 at 10:26 AM, Jan Kiszka <[EMAIL PROTECTED]> wrote: >> @@ -1236,6 +1236,9 @@ void xnpod_delete_thread(xnthread_t *thr >> xnthread_cleanup_tcb(thread); >> >> xnarch_finalize_no_switch(xnthread_archtcb(thread)); >> +

Re: [Xenomai-core] [PATCH] Flush xnfree backlog after thread deletion in root context

2008-05-13 Thread Gilles Chanteperdrix
On Tue, May 13, 2008 at 10:26 AM, Jan Kiszka <[EMAIL PROTECTED]> wrote: > @@ -1236,6 +1236,9 @@ void xnpod_delete_thread(xnthread_t *thr > xnthread_cleanup_tcb(thread); > > xnarch_finalize_no_switch(xnthread_archtcb(thread)); > + > + if (xnthread_tes