All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] removing orphaned xenomai registry entries
@ 2006-11-20 13:15 M. Koehrer
  2006-11-20 13:27 ` Philippe Gerum
  0 siblings, 1 reply; 2+ messages in thread
From: M. Koehrer @ 2006-11-20 13:15 UTC (permalink / raw)
  To: xenomai

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

-- 
Mathias Koehrer
mathias_koehrer@domain.hid


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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Xenomai-help] removing orphaned xenomai registry entries
  2006-11-20 13:15 [Xenomai-help] removing orphaned xenomai registry entries M. Koehrer
@ 2006-11-20 13:27 ` Philippe Gerum
  0 siblings, 0 replies; 2+ messages in thread
From: Philippe Gerum @ 2006-11-20 13:27 UTC (permalink / raw)
  To: M. Koehrer; +Cc: xenomai

On Mon, 2006-11-20 at 14:15 +0100, M. Koehrer wrote:
> 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.

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)).

> 
> Regards
> 
> Mathias
> 
-- 
Philippe.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-11-20 13:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-20 13:15 [Xenomai-help] removing orphaned xenomai registry entries M. Koehrer
2006-11-20 13:27 ` Philippe Gerum

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.