Ralf Ramrath wrote:

> hi folks,
>
> I have the following problem:
>
> I must ensure, that a rt-process will execute a sequence of instructions
> without being interrupted by e.g. an isr ( with higher priority ). I have
> not found any function calls in rtl3.0 that performs a kind of
> cpu_(un)locking?
>
> :
> lock_cpu(); // no other process is able to get the cpu
> foo();
> :
> bar();
> unlock_cpu(); // from now, each other process is able to obtain the cpu
>
> Are there any functions ( I called them here lock_cpu and unlock_cpu )
> implemented in rtl3.0 or do I have to implement these functions myself ?
>
> Thanks a lot in advance to all of you !
>
> best regards
>   ralf
>
> -- [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/

See the rtl_hard_* family of macros/functions in include/rtl_synch.h.

--Gordon

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