[fpc-devel] custom ThreadManager and MemoryMutexManager for hard realtime
Jonas Maebe
jonas.maebe at elis.ugent.be
Wed Jan 6 15:38:25 CET 2010
On 06 Jan 2010, at 15:25, Stefan Kisdaroczi wrote:
> AFAIK the RTL allocs the heap on app startup, or on thread-creation
> with 2.4.0.
> In my code im using getmem() to alloc mem from the heap, this will
> not generate
> syscalls because the heap is already allocated and the RTL has its
> own MemoryManager.
This is not entirely correct: while the rtl does pre-allocate some
memory from the system on startup, it can still allocate more later if
necessary, and it can also free memory back to the system.
Jonas
More information about the fpc-devel
mailing list