UVM bugfix for RTAI/fusion and Xenomai 2.0
People depending on the UVM support as available with RTAI/fusion should apply the following patch (against v0.9.1); it solves a serious bug which usually bites at thread creation time. The bug affects Xenomai 2.0 as well, so this fix will be part of Xenomai 2.0.1.
skins/uvm/syscall.c renamed from skins/uvm/syscall.c~ +2 -1
@@ -315,8 +315,9 @@if (!testbits (next->status,XNSTARTED )) { +/* First, make sure it won't preempt us. */ +xnpod_suspend_thread (next,XNSUSP ,XN_INFINITE ,NULL ); err =xnpod_start_thread (next,0 ,0 ,XNPOD_ALL_CPUS ,NULL ,NULL ); - goto out; }xnpod_resume_thread (next,XNSUSP );
Signature · 1 line
Philippe.