Pavel Andris wrote:

> You may consider a problem, FP is not allowed in interrupt service routine
> (ISR).

Who said that?

> The remedy is, write only a short ISR, that wakes up a RT-thread
> (pthread_wakeup_np()) and returns. Having finished the job, the RT-thread
> suspends itself (pthread_suspend_np).

That's your idea for paying more than needed, the task switch cost. 

USE THE HARD FPU IN ISRs, there is no need to have a scheduler around if
you are using a task just as a buddy of an interrupt handler.

Ciao, Paolo.
-- [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