Thomas, Brieuc \(GE Healthcare\) wrote: > Hello, > > I'm trying to use the Vxworks skin, with RealTime task. But I've got a > problem during a task test. > > I would like to configure the scheduler in Round Robin mode and launch a > first blocking task, and a second one, with an higher priority, which > kill the first one after a while. But the first task never give back the > CPU and my computer freeze !
Your code does not make what you believe: the first created task preempts the module init code immediately, which never has a chance to create a second task. > (...) > xnpod_activate_rr(SSEXEC_TIMESLICE); You are supposed to use kernelTimeSlice() to enable round-robin. -- Gilles Chanteperdrix. _______________________________________________ Xenomai-help mailing list Xenomai-help@gna.org https://mail.gna.org/listinfo/xenomai-help