[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [rtl] RT interrupt service routine question



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:	kissg@sztaki.hu [SMTP:kissg@sztaki.hu]
Sent:	Tuesday, May 09, 2000 12:21 PM
To:	l5gibson@hotmail.com
Cc:	rtl@rtlinux.org
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 majordomo@rtlinux.org OR
echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.org
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/