Stability issues in C++
be_brahim at yahoo.fr
Mon Jun 5 11:01:01 CEST 2006
actually i'm developping an application using C++ and i encounter many problem for its execution in a realtime context!
As you have an experience in C++ programming, i want to benefit from it to ask you for some questions:
- how do u use the LXRT tasks (creation, behaviour's defintion) into C++ classes? if u encapsulate tasks in posix thread or in C++ user defined classes?
- how do u manage dynamic memory allocation (primitive new) into LXRT context??
really, it was a long time that i'm confronted with this kind of problem and any hint will be a great help for me!
----- Message d'origine ----
De : John Ford <jford at nrao.edu>
Ã€ : Conrad Braam <conradbraam at gmail.com>
Cc : rtai at rtai.org
EnvoyÃ© le : Lundi, 5 Juin 2006, 4h26mn 29s
ObjetÂ : Re: Stability issues in C++
> One of the docs vaugely mention a compatibility problem if using C++, but
> an old Windows user I find this statement unsubstantiated, at least untill
> tried, and hit some snags. I am re-writting my whole realtime portion in
> flat C, like I used to write code many years ago for now.
> Can anyone give us a real answer to the C++ "incompatibility"?
We have our application written in C++. with no problems. I would avoid
C++ for kernel modules, although I don't know if it would work or not.
RTAI mailing list
RTAI at rtai.org
More information about the Rtai