I think there is no way to sync objects which are used in both rt rtdm ops and nrt rtdm ops.Am i right?

Jan Kiszka jan.kiszka at siemens.com
Tue Apr 14 07:14:43 CEST 2020


On 14.04.20 06:49, 孙世龙 via Xenomai wrote:
> Hi,
>           I think there is no way to sync objects which are used in both  rt
> rtdm ops and nrt rtdm ops.Am i right?

Use rtdm_spin_* in those cases. Of course, that implies short and 
non-blocking lock-holding times. Non-blocking because those context do 
not share the same scheduler, thus cannot but themselves asleep in the 
same way.

Jan

-- 
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux



More information about the Xenomai mailing list