Hmmm!
I've got a simple C++ program running under rtlinux. When I stop it with
rmmod, my systems locks up. I've narrowed this down to a delete call in one
of my destructors. Actually this is my only delete call executed in a thread
(deletes called directly from cleanup_module work ok).
There is nothing wrong with the code (it will fail even if the object
destructors do nothing).
Perhaps, I'm not linking correctly with the definitions of new and delete
included in the rtl_cpp.h file!?

Which brings me to a question. Why do the new and delete functions have to
be declared at all? Aren't they part of the C++ programming language. Are
the standard C++ versions unacceptable to RTLinux? Perhaps my code is
linking to the normal C++ definitions of new and delete and that is why the
system crashes.

Any help/advice appreciated.
David

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

Reply via email to