Rodrigo Rosenfeld Rosas wrote:
> Hi Jan,
> 
> I'm getting the following message from kernel:
> Xenomai: RTDM: no non-RT close handler
> Error registering RTDM device
> 
> But I am using only a RT open handler and a RT close handler. The 
> documentation states:
> "rtdm_close_handler_t         close_nrt       
>       Close handler for non-real-time contexts, optional if close_rt is 
> non-NULL."
> which is my case.
> 
> Am I missing something?

Nope, it's bug in the documentation. Do you actually depend on RT
context for cleanup?

I recently decided to enforce a non-RT closure handler on registration.
This is required to be able to do the

    echo file_descriptor > /proc/xenomai/rtdm/open_fildes

dance on forgotten file descriptors and to implement on day an automatic
closure on process termination.

The doc is now fixed, thanks for reporting.

> 
> I'll take a closer look at RTDM source-code, but maybe you can enlight me 
> until there.
> 
> Thanks,
> 
> Rodrigo.
> 
> 

Jan

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to