From: Paul <paul_c@domain.hid>
To: xenomai@xenomai.org
Subject: [Xenomai-help] rt_heap return codes
Date: Sun, 8 Apr 2007 00:00:12 +0100 [thread overview]
Message-ID: <200704080000.12934.paul_c@domain.hid> (raw)
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.
next reply other threads:[~2007-04-07 23:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-07 23:00 Paul [this message]
2007-04-07 23:15 ` [Xenomai-help] rt_heap return codes 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200704080000.12934.paul_c@domain.hid \
--to=paul_c@domain.hid \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.