* [Xenomai-help] C++ and Xenomai 2.4.0
@ 2008-06-05 14:59 Hugo Braga
2008-06-05 16:26 ` Thomas Lockhart
0 siblings, 1 reply; 5+ messages in thread
From: Hugo Braga @ 2008-06-05 14:59 UTC (permalink / raw)
To: xenomai
[-- Attachment #1: Type: text/plain, Size: 259 bytes --]
Hello!
I need to run some methods of class as a task of Xenomai. I did a test and
initially there was no problem. Do you really agree with this? Is there any
problem to use C++ and Xenomai 2.4.0 ?
Thank you for help!
Best regards,
Hugo Braga
UFBA - Brazil
[-- Attachment #2: Type: text/html, Size: 345 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Xenomai-help] C++ and Xenomai 2.4.0
2008-06-05 14:59 [Xenomai-help] C++ and Xenomai 2.4.0 Hugo Braga
@ 2008-06-05 16:26 ` Thomas Lockhart
2008-06-10 11:31 ` Hugo Braga
0 siblings, 1 reply; 5+ messages in thread
From: Thomas Lockhart @ 2008-06-05 16:26 UTC (permalink / raw)
To: Hugo Braga; +Cc: xenomai
[-- Attachment #1: Type: text/plain, Size: 361 bytes --]
> I need to run some methods of class as a task of Xenomai. I did a
> test and initially there was no problem. Do you really agree with
> this? Is there any problem to use C++ and Xenomai 2.4.0 ?
No.
- Tom
--
Thomas Lockhart
Supervisor, Distributed and Real-time Group
Instrument Software and Science Data Systems
Caltech/JPL
[-- Attachment #2: Type: text/html, Size: 808 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [Xenomai-help] C++ and Xenomai 2.4.0
2008-06-05 16:26 ` Thomas Lockhart
@ 2008-06-10 11:31 ` Hugo Braga
2008-06-10 12:05 ` Gilles Chanteperdrix
2008-06-10 14:29 ` Thomas Lockhart
0 siblings, 2 replies; 5+ messages in thread
From: Hugo Braga @ 2008-06-10 11:31 UTC (permalink / raw)
To: Thomas Lockhart; +Cc: xenomai, margaretessa
[-- Attachment #1: Type: text/plain, Size: 581 bytes --]
On Thu, Jun 5, 2008 at 1:26 PM, Thomas Lockhart <
Thomas.Lockhart@domain.hid> wrote:
> > I need to run some methods of class as a task of Xenomai. I did a
> > test and initially there was no problem. Do you really agree with
> > this? Is there any problem to use C++ and Xenomai 2.4.0 ?
>
> No.
>
> - Tom
>
> Don't we need to worry about object instantiation ?
> Thanks
>
--
Hugo Braga
Computer Science Undergraduate
Federal University of Bahia
GNU/Linux registered user #473542
http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=473542
[-- Attachment #2: Type: text/html, Size: 1194 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Xenomai-help] C++ and Xenomai 2.4.0
2008-06-10 11:31 ` Hugo Braga
@ 2008-06-10 12:05 ` Gilles Chanteperdrix
2008-06-10 14:29 ` Thomas Lockhart
1 sibling, 0 replies; 5+ messages in thread
From: Gilles Chanteperdrix @ 2008-06-10 12:05 UTC (permalink / raw)
To: Hugo Braga; +Cc: margaretessa, xenomai
On Tue, Jun 10, 2008 at 1:31 PM, Hugo Braga <hugovaz@domain.hid> wrote:
> On Thu, Jun 5, 2008 at 1:26 PM, Thomas Lockhart
> <Thomas.Lockhart@domain.hid> wrote:
>>
>> > I need to run some methods of class as a task of Xenomai. I did a
>> > test and initially there was no problem. Do you really agree with
>> > this? Is there any problem to use C++ and Xenomai 2.4.0 ?
>>
>> No.
>>
>> - Tom
>>
>> Don't we need to worry about object instantiation ?
If you have one use-case which fails, please post a small example
here, and we will try to find a solution. For the moment, "object
instantiation" looks like a vague problem description.
--
Gilles
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Xenomai-help] C++ and Xenomai 2.4.0
2008-06-10 11:31 ` Hugo Braga
2008-06-10 12:05 ` Gilles Chanteperdrix
@ 2008-06-10 14:29 ` Thomas Lockhart
1 sibling, 0 replies; 5+ messages in thread
From: Thomas Lockhart @ 2008-06-10 14:29 UTC (permalink / raw)
To: Hugo Braga; +Cc: xenomai
[-- Attachment #1: Type: text/plain, Size: 748 bytes --]
> > 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
[-- Attachment #2: Type: text/html, Size: 1237 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-06-10 14:29 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-05 14:59 [Xenomai-help] C++ and Xenomai 2.4.0 Hugo Braga
2008-06-05 16:26 ` Thomas Lockhart
2008-06-10 11:31 ` Hugo Braga
2008-06-10 12:05 ` Gilles Chanteperdrix
2008-06-10 14:29 ` Thomas Lockhart
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.