Skip to contentSkip to conversation

Porting Linux Tasklets

Xenomai-help Robert McCullough 2 participants 2 messages Mar 17, 2008

lore
Share & tools
lore
#0 lore raw

Hi,

How do I implement a Linux Tasklet in a RTDM driver?
I am currently using the tasklet_hi_schedule() API in my Linux driver and need to port that to my RTDM driver.

Best regards,
Rob

#1 lore raw
Quoted 5 lines · Robert McCullough

Hi,

How do I implement a Linux Tasklet in a RTDM driver?
I am currently using the tasklet_hi_schedule() API in my Linux driver and need to port that to my RTDM driver.

I assume that the code in the tasklet handler is supposed to fulfil real-time requirements: Either in a rtdm_task (using e.g. rtdm_event_signal/wait for communication) or directly in the IRQ handler. That depends on the worst-case execution time of the handler and if there are might be tasks/IRQs that should have higher priority.

Jan