Hi,

        We cannot use pthread_wakeup_np from Interrupt handler, because it calls 
rtl_schedule, instead we can use pthread_kill.

Santhosh

-----Original Message-----
From:   [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
Sent:   Tuesday, May 09, 2000 12:21 PM
To:     [EMAIL PROTECTED]
Cc:     [EMAIL PROTECTED]
Subject:        Re: [rtl] RT interrupt service routine question

> Howdy RTL/RTAI comrades
> 
> Can one do a rt_task_suspend and rt_task_resume within a RT interrupt
> service routine?

rt_task_resume? :-o
What version has this function?

pthread_wakeup_np() and pthread_suspend_np() are safe to use from
an IT handler. rt_task_suspend() detto.
See http://gatling.aszi.sztaki.hu/~kissg/doc_nmt/context.html

BTW. Any contribution is welcome! :-)

Gabor
-- [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/

Reply via email to