[Date Prev][Date Next] [Chronological] [Thread] [Top]

[rtl] Re: C++ Constructors/Destructos



Colin Leister wrote:

> Daniele:
>
> What version of gcc, libgcc, and Linux are you using?
>

gcc 2.7.2.1, gcclib 2.7.2.1, kernel 2.0.29.
Did my example work on your machine?

> I've recently implemented my own operator new() and operator delete()
> using kmalloc and kfree as Richard did I believe.  They work
> perfectly, although I would not use them during realtime execution,
> only during init or cleanup.

I agree that kmalloc and kfree may be used during init or cleanup,
because these should be executed as part of the kernel.

Regards, Daniele


--- [rtl] ---
For more information on Real-Time Linux see:
http://rtlinux.cs.nmt.edu/