All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] rt_heap return codes
@ 2007-04-07 23:00 Paul
  2007-04-07 23:15 ` Jan Kiszka
  2007-04-08  9:21 ` Philippe Gerum
  0 siblings, 2 replies; 6+ messages in thread
From: Paul @ 2007-04-07 23:00 UTC (permalink / raw)
  To: xenomai


During the course of debugging a simple xeno-native app, I notice some of the 
return codes for heap functions are at odds with the documentation.. For 
example rt_heap_bind() when used with TM_NONBLOCK returns -EAGAIN where as 
the docs would suggest -EWOULDBLOCK should be returned.

Also noted that rt_heap_delete() returns -EBUSY if another task holds a valid 
heap descriptor - Undocumented, but well worth having as it can be used to 
prevent the RT_HEAP memory from disappearing (either by a module unloading, 
or user space app terminating).

Are these return codes likely to change in the forseeable future ? 


Regards, Paul.


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

end of thread, other threads:[~2007-04-08 15:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-07 23:00 [Xenomai-help] rt_heap return codes Paul
2007-04-07 23:15 ` Jan Kiszka
2007-04-08 11:31   ` Paul
2007-04-08 13:38     ` Jan Kiszka
2007-04-08 15:01     ` Philippe Gerum
2007-04-08  9:21 ` 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.