From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <484E8FB1.5060003@domain.hid> Date: Tue, 10 Jun 2008 07:29:05 -0700 From: Thomas Lockhart MIME-Version: 1.0 References: <3d3b73870806050759q607e6648p2eeb6568f4fde97c@domain.hid> <484813B8.9040307@domain.hid> <3d3b73870806100431y1cb49a3ch1cc2922dc8b1b94c@domain.hid> In-Reply-To: <3d3b73870806100431y1cb49a3ch1cc2922dc8b1b94c@domain.hid> Content-Type: multipart/alternative; boundary="------------020308010908050204050106" Subject: Re: [Xenomai-help] C++ and Xenomai 2.4.0 List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Hugo Braga Cc: xenomai@xenomai.org This is a multi-part message in MIME format. --------------020308010908050204050106 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit > > Is there any problem to use C++ and Xenomai 2.4.0 ? > Don't we need to worry about object instantiation ? Thanks Worry as much as you want. But you may want to save that for when something doesn't work ;) We use Xenomai for a C++ userland application with a mix of real-time and non-real-time threads. We do not see any issues introduced by Xenomai wrt object instantiation. Of course, instantiating objects while you are in a real-time thread may affect performance so you may want most of those already allocated and ready to go when you need real-time behaviors. hth - Tom -- Thomas Lockhart Supervisor, Distributed and Real-time Group Instrument Software and Science Data Systems Caltech/JPL --------------020308010908050204050106 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit >> Is there any problem to use C++ and Xenomai 2.4.0 ?
> Don't we need to worry about object instantiation ? Thanks

Worry as much as you want. But you may want to save that for when something doesn't work ;)

We use Xenomai for a C++ userland application with a mix of real-time and non-real-time threads. We do not see any issues introduced by Xenomai wrt object instantiation. Of course, instantiating objects while you are in a real-time thread may affect performance so you may want most of those already allocated and ready to go when you need real-time behaviors.

hth

                                  - Tom

--
Thomas Lockhart
Supervisor, Distributed and Real-time Group
Instrument Software and Science Data Systems
Caltech/JPL

--------------020308010908050204050106--