Module: xenomai-2.6 Branch: for-upstream Commit: b2ddb284c9b7e6cbd6c2a0d26544e9a0a618f32a URL: http://git.xenomai.org/?p=xenomai-2.6.git;a=commit;h=b2ddb284c9b7e6cbd6c2a0d26544e9a0a618f32a
Author: Philippe Gerum <r...@xenomai.org> Date: Fri May 24 16:17:02 2013 +0200 nucleus/pod: delegate TCB cleanup to exit handler for dormant user threads TCB cleanup for any userland thread shall be performed over its own context: this rule is also applicable to un-started threads, still bearing the XNDORMANT bit. --- ksrc/nucleus/pod.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/ksrc/nucleus/pod.c b/ksrc/nucleus/pod.c index f977db3..aacdd4a 100644 --- a/ksrc/nucleus/pod.c +++ b/ksrc/nucleus/pod.c @@ -1120,7 +1120,6 @@ void xnpod_delete_thread(xnthread_t *thread) */ if (xnthread_user_task(thread) != NULL && - !xnthread_test_state(thread, XNDORMANT) && !xnthread_test_info(thread, XNABORT) && !xnpod_current_p(thread)) { if (!xnpod_userspace_p()) _______________________________________________ Xenomai-git mailing list Xenomai-git@xenomai.org http://www.xenomai.org/mailman/listinfo/xenomai-git