Am Samstag, 21. Oktober 2006 16:52 schrieb Philippe Gerum:
> On Sat, 2006-10-21 at 16:28 +0200, Niklaus Giger wrote:
> > Hi
> >
> > I run a program using the vxworks skin from user space. As did hang, I
> > typed  "Ctrl-C" to end the program.
> >
> > Looking at /proc/xenomai/registry/vxworks/semaphores/ I remarked however,
> > that there were still vxworks semaphores open, which had not been
> > deleted.
> >
> > Is it up to the programmer to clean up at exit? Or is this a bug in the
> > current Xenomai implementation?
>
> It's not a bug, but rather a limitation. We don't currently support
> auto-cleanup of objects in the VxWorks skin.
Though what about applying a small patch like this?

Index: doc/txt/vxworks-skin.txt
===================================================================
--- doc/txt/vxworks-skin.txt    (Revision 1738)
+++ doc/txt/vxworks-skin.txt    (Arbeitskopie)
@@ -104,6 +104,9 @@
   taskDelete() which might need to wait for the deleted task to exit a
   safe section (taskSafe/taskUnsafe) before proceeding.

+- There is currently no support for auto-cleanup of objects in the VxWorks
+  skin.
+
 Module parameters
 =================


Best regards
-- 
Niklaus Giger

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

Reply via email to