Hi Philippe,

really hope we can close this issue soon, but I managed to add another
regression with my fix (rt_task_delete(NULL) caused seg-faults, e.g. in
latency). Please apply the attached path against current SVN.

Jan
Index: src/skins/native/task.c
===================================================================
--- src/skins/native/task.c     (Revision 251)
+++ src/skins/native/task.c     (Arbeitskopie)
@@ -206,9 +206,11 @@
 {
     int err;
 
-    err = pthread_cancel((pthread_t)task->opaque2)
-    if (err)
-        return -err;
+    if (task) {
+       err = pthread_cancel((pthread_t)task->opaque2);
+       if (err)
+           return -err;
+    }
 
     err = XENOMAI_SKINCALL1(__native_muxid,
                            __native_task_delete,

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to