Xenomai 2.6.3 documentation states, that the usage of open_rt handlers is deprecated as this feature will be removed in the future. As a consequence one cannot use rtdm_mutex_lock inside an nrt_open handler to synchronize multiple callers, as this will result in a (!xnpod_unblockable_p()) assertion. So using a spinlock would be the only solution in that situation. Is that true?
By the way, if an rtdm driver only supports RTDM_EXCLUSIVE mode, is there a need to synchronize concurrent calls to rt_dev_open on this device at all? I guess not, because the second caller will be refused. Is that also true? Thanks for your help Jochen _______________________________________________ Xenomai mailing list [email protected] http://xenomai.org/mailman/listinfo/xenomai
