Michel Doyon wrote:
> 
> hi,
> 
> Is there a way of completely locking a CPU with RTAI and for some
> particular operation completely dedicate one CPU out of a 2 CPU machine
> such that 1 cpu continuously poll some flag on a data acquisition card ?
> 
> Thank you
> 
> Michel

Hi Michel,

I think the hard_lock_all() function in rtai.c should do this.  It will
lock all CPU's except the one setting the lock.

Regards, Stuart
-- [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