On 10/13/2012 01:30 PM, Gilles Chanteperdrix wrote:
> diff --git a/ksrc/nucleus/pod.c b/ksrc/nucleus/pod.c
> index 7c56abc..0f801fe 100644
> --- a/ksrc/nucleus/pod.c
> +++ b/ksrc/nucleus/pod.c
> @@ -2203,6 +2203,12 @@ reschedule:
> if (!need_resched)
> goto signal_unlock_and_exit;
> #endif /* !XENO_DEBUG(NUCLEUS) */
> + if (xnthread_test_state(curr, XNTHREAD_BLOCK_BITS|XNLOCK) == XNLOCK) {
We probably want to add XNZOMBIE here, as we may want to destroy a
thread, even if it has locked the scheduler.
--
Gilles.
_______________________________________________
Xenomai mailing list
[email protected]
http://www.xenomai.org/mailman/listinfo/xenomai