I tried this using RH 5.2 (2.0.36) and RTL 0.9J. It doesn't work. IIRC,
the computer hung immediately because calling wake_up_interruptable() either
directly or indirectly invokes the normal Linux scheduler and the computer
was still within RTLinux.
Norm
> -----Original Message-----
> From: Tomasz Motylewski [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, June 01, 2000 6:16 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: [rtl] wake_up_interruptible from RT ISR?
>
>
> 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.
>
> 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/
-- [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/