On Fri, Jun 02, 2000 at 12:15:32AM +0200, Tomasz Motylewski wrote:
>
> I would like to ask whether calling wake_up_interruptible is OK in RTL and
> RTAI from real time ISR (or RT task)? I remember some discussion where Paolo
> stated it is possible in RTAI.
Not in RTLinux. To see how we do it, look at the fifos code. An interrupt is pended
for Linux and the Linux handler calls wake_up. It's pretty simple.
>
> Another question is whether I can use standard wake_up_interruptible() kernel
> call, or I have to change it to some other function?
>
> I have the following situation in mind: I have normal Linux interrupt
> handler, packing data into static buffer. It then calls
> wake_up_interruptible. Can I just register this handler as RT IRQ handler
> without any modification? When the woken up task will run? On next regular
> timer tick? Or after any other soft Linux interrupt (when BH is processed)?
>
> I hope the answer can be added to:
> http://gatling.aszi.sztaki.hu/~kissg/doc_nmt/context.html
>
> Best regards,
> --
> Tomek
>
> -- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
> echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
> ---
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/rtlinux/
--
---------------------------------------------------------
Victor Yodaiken
FSMLabs: www.fsmlabs.com www.rtlinux.com
FSMLabs is a servicemark and a service of
VJY Associates L.L.C, New Mexico.
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/