From: Jan Kiszka <jan.kiszka@domain.hid>
To: Paul <paul_c@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] rt_heap return codes
Date: Sun, 08 Apr 2007 01:15:56 +0200 [thread overview]
Message-ID: <4618262C.50006@domain.hid> (raw)
In-Reply-To: <200704080000.12934.paul_c@domain.hid>
[-- Attachment #1: Type: text/plain, Size: 883 bytes --]
Paul wrote:
> 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.
[/usr/include/asm-generic/errno.h]
#define EWOULDBLOCK EAGAIN
>
> 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).
Feel free to provide a patch to enhance the doc.
>
> Are these return codes likely to change in the forseeable future ?
>
I don't see why. And once they are documented, there are even less reasons.
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 249 bytes --]
next prev parent reply other threads:[~2007-04-07 23:15 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-07 23:00 [Xenomai-help] rt_heap return codes Paul
2007-04-07 23:15 ` Jan Kiszka [this message]
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=4618262C.50006@domain.hid \
--to=jan.kiszka@domain.hid \
--cc=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.