All of lore.kernel.org
 help / color / mirror / Atom feed
* preempt_disable and sleep()
@ 2010-05-13 18:32 ratheesh k
  2010-05-13 18:43 ` Sven-Thorsten Dietrich
  0 siblings, 1 reply; 6+ messages in thread
From: ratheesh k @ 2010-05-13 18:32 UTC (permalink / raw)
  To: linux-kernel, linux-rt-users

I am running RT linux .

/* code snippet */

preempt_disable()
...........
sleep(10);
'............
preempt_enable()


will this sleep() will cause reschedule ?.

if an interrupt comes  while premption is disabled , how it is handled ?.

Thanks,
Ratheesh

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

end of thread, other threads:[~2010-05-14  3:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-13 18:32 preempt_disable and sleep() ratheesh k
2010-05-13 18:43 ` Sven-Thorsten Dietrich
2010-05-14  2:46   ` ratheesh k
2010-05-14  2:46     ` ratheesh k
2010-05-14  3:37     ` Paul E. McKenney
2010-05-14  3:37       ` Paul E. McKenney

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.