All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] Deadlock with interrupt shield activated / Avoid mode switches at compile time
@ 2010-07-28  8:41 Markus Seemann
  2010-07-28  8:50 ` Gilles Chanteperdrix
  2010-07-31 10:35 ` Philippe Gerum
  0 siblings, 2 replies; 3+ messages in thread
From: Markus Seemann @ 2010-07-28  8:41 UTC (permalink / raw)
  To: xenomai

Hello,

a more theoretical question:

Is it possible to provocate a deadlock while switching a RTTask from primary mode to secondary mode when the interrupt shield is activated?
Perhaps with this kind of scenario:
- linux process takes semaphore
- RTTask switches to secondary mode and also tries to take this semaphore
- The semaphore would be released in ISR context of the linux kernel. But the interrupt shield prevents the execution of this isr.

How realistic is this scenario?


Another question:
Is it possible to avoid mode switches for realtime tasks at compile time for a specific task?

Thanks in advance,
Markus
___________________________________________________________
Neu: WEB.DE De-Mail - Einfach wie E-Mail, sicher wie ein Brief!  
Jetzt De-Mail-Adresse reservieren: https://produkte.web.de/go/demail02


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

end of thread, other threads:[~2010-07-31 10:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-28  8:41 [Xenomai-help] Deadlock with interrupt shield activated / Avoid mode switches at compile time Markus Seemann
2010-07-28  8:50 ` Gilles Chanteperdrix
2010-07-31 10:35 ` 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.