[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [rtl] context
On Wed, Mar 01, 2000 at 04:24:36PM +0100, kissg@sztaki.hu wrote:
> Documentation says quite few about that what context API functions
> can be called.
>
> Especially I have to know if rtf_put() can be called from
> init_module() or not.
>
> I can see, that content of rtf_put() is mostly harmless.
> Only rtl_critical() and rtl_end_critical() are suspicious.
> These macros are expanded to rtl_no_interrupts(), rtl_spin_lock() and
> similar operations that call another strange functions in unknown depth.
>
> So is anybody out there who knows the answer? ;-)
>
rtf_put is safe everywhere. It does cause a small realtime delay
so
while(1)rtf_put
is not advised, but there is no problem with using the function
in rt mode.
> Gabor
> -- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail majordomo@rtlinux.org OR
> echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.org
> ---
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/~rtlinux/
--
---------------------------------------------------------
Victor Yodaiken
FSMLabs: www.fsmlabs.com www.rtlinux.com
FSMLabs is a servicemark and a service of
VJY Associates L.L.C, New Mexico.