linux-rt-users.vger.kernel.org archive mirror
 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; 4+ 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] 4+ messages in thread

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

Thread overview: 4+ 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  3:37     ` Paul E. McKenney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).