removing orphaned xenomai registry entries
Hi everybody,
especially in the development phase of a project, I have the situation to create some entries like events that end up in the Xenomai's registry.
However, while developing I exit my application before processing the clean up phase. This means, that I have a couple of orphaned events in the registry
(e.g. in /proc/xenomai/registry/native/events).
How can I force Xenomai to remove this entries?
Is there something like a rmxeno that works like rm or rmmod and removes specified elements? (if not: Isn't this an idea for any of the next versions of Xenomai....) The only way I found out is to reboot the PC which is not nice as it takes a while. Of course, in a final application I should never have this situation, however in the development phase this might occur fairly often.
Thanks for any feedback on this.
Regards
Mathias
Signature · 9 lines
Mathias Koehrer [email protected] Viel oder wenig? Schnell oder langsam? Unbegrenzt surfen + telefonieren ohne Zeit- und Volumenbegrenzung? DAS TOP ANGEBOT JETZT bei Arcor: günstig und schnell mit DSL - das All-Inclusive-Paket für clevere Doppel-Sparer, nur 44,85 € inkl. DSL- und ISDN-Grundgebühr! http://www.arcor.de/rd/emf-dsl-2
Quoted 14 lines · M. Koehrer
Hi everybody,
especially in the development phase of a project, I have the situation to create some entries like events that end up in the Xenomai's registry.
However, while developing I exit my application before processing the clean up phase. This means, that I have a couple of orphaned events in the registry
(e.g. in/proc/xenomai/registry/native/events).
How can I force Xenomai to remove this entries?
Is there something like a rmxeno that works like rm or rmmod and removes specified elements? (if not: Isn't this an idea for any of the next versions of Xenomai....) The only way I found out is to reboot the PC which is not nice as it takes a while. Of course, in a final application I should never have this situation, however in the development phase this might occur fairly often.
Quoted 1 line
Thanks for any feedback on this.
Yould could create a small application finding existing nodes under /proc/xenomai/registry/native, bind to them depending on their type (e.g. rt_event_bind(&desc, ...)), then call the proper deletion routine against the bound descriptor (e.g. rt_event_delete(&desc)).
Quoted 5 lines
Regards
Mathias
Signature · 1 line
Philippe.