Raul wrote:
>
> Can the functions malloc() and calloc() be used in
> rtl.
> I have this file that make calls upon those funcions.
> The compilation presents no problems but when I try to
> load the module the following error comes up:
> unresolve symbol malloc
> unresolve symbol calloc
>
> If they cannot be used is there anyother similar
> function?
>
Hi Raul,
For the kernel kmalloc/kfree etc are used, but these are not safe in a
realtime context. RTAI has support for dynamic memory allocation using
rt_malloc/rt_free. I think I recall someone ported this to RTL recently
(see the archive).
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/