On Thursday 27 September 2001 17:57, Calin A. Culianu wrote: > Actually I am really curious now.. how does dynamic memory allocation > in C++ (the 'new' keyword) work if you want to use C++ in a kernel > module??
You have to implement it using kmalloc(). Of course, unless you instead implement "new" using some RT capable allocator, it won't work from within RTL threads! //David Olofson --- Programmer, Reologica Instruments AB .- M A I A -------------------------------------------------. | Multimedia Application Integration Architecture | | A Free/Open Source Plugin API for Professional Multimedia | `----------------------------> http://www.linuxdj.com/maia -' .- David Olofson -------------------------------------------. | Audio Hacker - Open Source Advocate - Singer - Songwriter | `-------------------------------------> http://olofson.net -' -- [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/
