On Tue, Jun 20, 2000 at 03:41:08PM +0200, Paolo Mantegazza wrote:
> 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. 

A couple of instructions. Dwarfed by the cost of saving and restoring
the FPU.




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