Index: src/skins/native/task.c =================================================================== --- src/skins/native/task.c (Revision 481) +++ src/skins/native/task.c (Arbeitskopie) @@ -59,6 +59,9 @@ param.sched_priority = sched_get_priority_max(SCHED_FIFO); pthread_setschedparam(pthread_self(),SCHED_FIFO,¶m); + /* rt_task_delete requires asynchronous cancellation */ + pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, NULL); + signal(SIGCHLD,&rt_task_sigharden); bulk.a1 = (u_long)iargs->task; @@ -160,6 +163,9 @@ { struct rt_arg_bulk bulk; + /* rt_task_delete requires asynchronous cancellation */ + pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, NULL); + signal(SIGCHLD,&rt_task_sigharden); bulk.a1 = (u_long)task;