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

With both the SMP and MUP scheduler you can use rt_set_runnable_on_cpus
to lock a task to a specific CPU. In MUP the task is in fact already
assigned to a single default CPU, but you can change it. If the task
sucks all the time in polling for an event it will lock the CPU it is
on.

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