Gilles, Thanks for the reply. Sure enough, binding to the heap allows me to delete it. I wanted to update the documentation, but I'm not sure I understand it well enough. Here's my attempt --I hope it clarifies rather than obscures! :
--- ksrc/skins/native/heap.c 2006-04-09 14:03:50.000000000 -0700 +++ ksrc/skins/native/heap.c.new 2006-05-27 22:54:44.000000000 -0700 @@ -351,7 +351,8 @@ * - -EIDRM is returned if @a heap is a deleted heap descriptor. * * - -EPERM is returned if this service was called from an - * asynchronous context. + * asynchronous context. The heap may first need to be associated with the + * calling process using rt_heap_bind(). * * Environments: * _______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
