Skip to contentSkip to conversation

wait for data from RTDM device

Xenomai Шевченко Тарас Григорьевич 2 participants 2 messages Jul 19, 2018

lore
Share & tools
lore
#0 lore raw

Good day!
In my project I want to send data by use ioctl_rt function
than wait 1 ms and return data from device if present or error if time expired which function prefere to use ?
I found rtdm_task_busy_wait but no examples to use it, so Im not shure please give me an advice
Thank you

С уважением и надеждой на сотрудничество,
Шевченко Т.Г.

#1 lore raw

Have you tried rtdm_task_sleep?

-Greg

Quoted 14 lines · Шевченко Тарас Григорьевич

Good day!
In my project I want to send data by use ioctl_rt function
than wait 1 ms and return data from device if present or error if time expired which function prefere to use ?
I found rtdm_task_busy_wait but no examples to use it, so Im not shure please give me an advice
Thank you

С уважением и надеждой на сотрудничество,
Шевченко Т.Г.
_______________________________________________
Xenomai mailing list
[email protected]
https://xenomai.org/mailman/listinfo/xenomai