In kernel space everything you do must be thought through. I would have thought new and delete would not be allowed (or exist). There would be special alternatives. This leads to the question is C++ possible in kernel space?
Karl. [EMAIL PROTECTED] (Steven Seeger)@rtlinux.org on 18/03/2002 22:55:36 Please respond to [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: RE: [rtl] (RT) C++ why you should use it Karl, Are new and delete even safe to use in kernel space? Come to think of it, I never actually tried. Steve >-----Original Message----- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of >[EMAIL PROTECTED] >Sent: Sunday, March 17, 2002 3:59 AM >To: [EMAIL PROTECTED] >Subject: Re: [rtl] (RT) C++ why you should use it > > >C++ has its places, especially where inheritance fits well, >and GUI is the >best example for the use of inheritance. >For more procedure stuff like the kernel or device driving then C works >well. >Remember there are more mundane features of OO like grouping >procedures and >data into packages which can be done with any language though >C++ provides >one with features to do it and control it. > >One danger I see with using C++ is that using RTLinux implies one wants >control over what happens especially with predictable timing. What a >compiler does with C++, especially dynamic calling, creation >and deletion >of objects and memory allocation and worse of all memory >deallocation may >mean one loses control. > >Karl. > -- [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/ -- [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/
