All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] rtdm driver open_rt/nrt handler question
@ 2015-11-26  9:00 JK.Behnke
  2015-11-26  9:10 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 3+ messages in thread
From: JK.Behnke @ 2015-11-26  9:00 UTC (permalink / raw)
  To: xenomai

   Xenomai 2.6.3 documentation states, that the usage of open_rt handlers
   is deprecated
   as this feature will be removed in the future.
   As a consequence one cannot use rtdm_mutex_lock inside an nrt_open
   handler
   to synchronize multiple callers, as this will result in a
   (!xnpod_unblockable_p()) assertion.
   So using a spinlock would be the only solution in that situation.
   Is that true?

   By the way, if an rtdm driver only supports RTDM_EXCLUSIVE mode, is
   there
   a need to synchronize concurrent calls to rt_dev_open on this device at
   all?
   I guess not, because the second caller will be refused.
   Is that also true?

   Thanks for your help
   Jochen

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

end of thread, other threads:[~2015-11-26  9:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-26  9:00 [Xenomai] rtdm driver open_rt/nrt handler question JK.Behnke
2015-11-26  9:10 ` Gilles Chanteperdrix
2015-11-26  9:39   ` JK.Behnke

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.