From: "Andreas Glatz" <AndreasGlatz@domain.hid>
To: xenomai@xenomai.org
Subject: [Xenomai-core] rt_queue_create in RT task?
Date: Mon, 9 Mar 2009 10:20:49 -0400 [thread overview]
Message-ID: <1236608449.3587.32.camel@domain.hid> (raw)
Hi,
Calling rt_queue_create in a real-time task is supposed to fail
according to the documentation.
I found out, that the reason for this is, that the memory for
the queue memory pool is allocated with vmalloc/kmalloc.
Is there another reason?
I still would like to be able to call rt_queue_create in a
real-time task in my activity of porting real-time applications
to Xenomai because I think that patching rt_queue_create would
be less time consuming than redesigning the applications.
My approach to get there would be to split rt_queue_create into
two separate functions, one that allocates the memory pool
and another one which initializes the queue structure...
Best regards,
Andreas
next reply other threads:[~2009-03-09 14:20 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-09 14:20 Andreas Glatz [this message]
2009-03-09 14:36 ` [Xenomai-core] rt_queue_create in RT task? Steven Seeger
2009-03-09 15:19 ` Andreas Glatz
2009-03-09 15:32 ` Steven Seeger
2009-03-09 16:08 ` Philippe Gerum
2009-03-09 16:37 ` Andreas Glatz
2009-03-09 17:02 ` Philippe Gerum
2009-03-10 12:43 ` Andreas Glatz
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=1236608449.3587.32.camel@domain.hid \
--to=andreasglatz@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.