Thomas, Brieuc \(GE Healthcare\) wrote:
 > Oh no! Sorry, I mean the real-time tick counter!

Could you try the attached patch ?

-- 


                                            Gilles Chanteperdrix.
--- include/asm-uvm/system.h~   2006-04-05 15:08:08.000000000 +0200
+++ include/asm-uvm/system.h    2006-04-21 15:54:24.000000000 +0200
@@ -594,7 +594,7 @@ static void *xnarch_thread_trampoline (v
        {
        pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, NULL);
        param.sched_priority = sched_get_priority_min(SCHED_FIFO) + 1;
-       sched_setscheduler(0,SCHED_FIFO,&param);
+        pthread_setschedparam(pthread_self(), SCHED_FIFO, &param);
        uvm_thread_create(tcb->name,tcb,&tcb->completion,&tcb->khandle);
        err = uvm_thread_barrier();     /* Wait for start. */
        if (err)
_______________________________________________
Xenomai-help mailing list
Xenomai-help@gna.org
https://mail.gna.org/listinfo/xenomai-help

Reply via email to