All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] Sharing of access to RT_MUTEX, RT_QUEUE, and RT_TASK
@ 2012-01-31  6:40 Doug Brunner
  2012-01-31  8:24 ` Philippe Gerum
  0 siblings, 1 reply; 2+ messages in thread
From: Doug Brunner @ 2012-01-31  6:40 UTC (permalink / raw)
  To: xenomai

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



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

end of thread, other threads:[~2012-01-31  8:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-31  6:40 [Xenomai-help] Sharing of access to RT_MUTEX, RT_QUEUE, and RT_TASK Doug Brunner
2012-01-31  8:24 ` 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.