From: "Doug Brunner" <dbrunner@domain.hid>
To: xenomai@xenomai.org
Subject: [Xenomai-help] Sharing of access to RT_MUTEX, RT_QUEUE, and RT_TASK
Date: Mon, 30 Jan 2012 22:40:03 -0800 (PST) [thread overview]
Message-ID: <1327992003.514524717@domain.hid> (raw)
I'm working on an application where it would be convenient for several tasks within the same process to share access to single descriptors for mutexes, queues, and tasks, rather than each task having to separately bind to each one and keep its own RT_MUTEX/RT_QUEUE/RT_TASK.
The documentation doesn't seem to speak to this issue, and I haven't been able to find a definitive answer through searches. Can anyone clarify whether or not this will lead to problems, e.g. task A is in the midst of locking a mutex when task B starts trying to obtain a lock itself, and bad results occur?
Thanks,
Doug Brunner
next reply other threads:[~2012-01-31 6:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-31 6:40 Doug Brunner [this message]
2012-01-31 8:24 ` [Xenomai-help] Sharing of access to RT_MUTEX, RT_QUEUE, and RT_TASK 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=1327992003.514524717@domain.hid \
--to=dbrunner@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.