[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rtl] Real time C++?





Olaf Petzold wrote:
> 
> Am Die, 10 Apr 2001 schrieben Sie:
> > I did. I found discussions about modules implementing dynamic memory
> > allocation in realtime code, but I couldn't figure out if they would allow
> > me to allocate objects. I tried "realtime C++", "real time C++", "real time
> 
> You can new/delete implement with kmalloc/kfree. The problem, you have to
> allocate the memory before the rt-thread is started. There was a mailing
> list thread about alloc inside rt-thread for rtai. Who knows more about the
> state and where to get ? (maybee for rtlinux?)

RTAI has rt_malloc/rt_free, which are in the 24.1.3 (and soon to be
24.1.4) release.
They are used by several internal parts of RTAI including LXRT, and
should be
stable. More information can be found under www.rtai.org.

- Erwin

> 
> > From: "J.D. Bakker" <bakker@thorgal.et.tudelft.nl>
> > > This has been discussed to death in the (recent) past. Please search
> > > the mailing list archives before asking.
> 
> That right, some questions are open left!
> 
> Regards
> Olaf
> -- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail majordomo@rtlinux.org OR
> echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.org
> --
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/rtlinux/