Skip to contentSkip to conversation

rt_task_set_periodic()

Xenomai-help Steven Seeger 2 participants 2 messages Jan 30, 2008

lore
Share & tools
lore
#0 lore raw

I notice that I only get -EAGAIN (-11) when I call rt_task_set_periodic() when I have a kernel module loaded that calls rt_timer_set_mode(125000) to start a periodic timebase of 125us. If I don't do this, then it works as expected. Any idea?

Steven

#1 lore raw
Quoted 8 lines · Steven Seeger

I notice that I only get –EAGAIN (-11) when I call rt_task_set_periodic() when I have a kernel module loaded that calls rt_timer_set_mode(125000) to start a periodic timebase of 125us. If I don't do this, then it works as expected. Any idea?

Check the return value of rt_timer_set_mode.

Signature · 1 line
                                               Gilles Chanteperdrix