Re: [fpc-devel] custom ThreadManager and MemoryMutexManager for hard realtime

2010-01-07 Thread Michael Schnell
Jonas Maebe wrote: 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. That is why I suggested that he needs to create a Xenomai aware Memory Manager Plugin. Moreover he'd need

Re: OT: Lazarus behaviour (tabs/fold) [Re: [fpc-devel] Circular references and forward declarations]

2010-01-07 Thread Michael Schnell
Martin wrote: {$region} {$endregion} Perfect ! I feel this should solve much the OP's problem with big source files. -Michael ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel

Re: Re[2]: [fpc-devel] Circular references and forward declarations

2010-01-07 Thread Joost van der Sluis
On Wed, 2010-01-06 at 16:56 +0300, Nikolai ZHUBR wrote: Wednesday, January 06, 2010, 2:47:24 PM, Juha Manninen wrote: On keskiviikko, 6. tammikuuta 2010 13:14:18 Michael Van Canneyt wrote: Why ? Every class in 1 file is perfectly possible with include files, and 1 big unit file. Ok,

RE: [fpc-devel] custom ThreadManager and MemoryMutexManager for hard realtime

2010-01-07 Thread Pierre Muller
To complement what Jonas said, if there is no room in the currently allocated Free Pascal heap, the system memory manager calls the system specific function SysOSAlloc defined in rtl/unix/sysheap.inc, for unix systems. This in turn calls Fpmmap function which does a syscall

Re: [fpc-devel] Circular references and forward declarations

2010-01-07 Thread Florian Klaempfl
Nikolai ZHUBR schrieb: Wednesday, January 06, 2010, 2:47:24 PM, Juha Manninen wrote: On keskiviikko, 6. tammikuuta 2010 13:14:18 Michael Van Canneyt wrote: Why ? Every class in 1 file is perfectly possible with include files, and 1 big unit file. Ok, include files seem to solve this

Re: [fpc-devel] custom ThreadManager and MemoryMutexManager for hard realtime

2010-01-07 Thread Stefan Kisdaroczi
Am 07.01.2010 09:40, schrieb Michael Schnell: Jonas Maebe wrote: 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. That is why I suggested that he needs to create a

Re: [fpc-devel] custom ThreadManager and MemoryMutexManager for hard realtime

2010-01-07 Thread Michael Schnell
Sounds nice. It would be a beautiful o the RTL to allow for Xenomai aware memory management and to provide some Xenomai-aware standard functions (timer, thread locking, ...) -Michael ___ fpc-devel maillist - fpc-devel@lists.freepascal.org

Re: [fpc-devel] Fatal: Compilation aborted

2010-01-07 Thread Mimu Bunnylin
On Wed, 06 Jan 2010 22:22:46 -0800, Marten Feldtmann itli...@schrievkrom.de wrote: Hello, I'm doing my first steps in fp - and for a long time in Pascal again - and use the 2.4.0 version. I more or less often come into a situation, where the compiler simply tries to compile my program

Re: [fpc-devel] Fatal: Compilation aborted

2010-01-07 Thread Jonas Maebe
On 08 Jan 2010, at 00:40, Mimu Bunnylin wrote: Strangely enough, I get that too. Seems like the IDE-compiler gets stuck if it encounters a specific obscure combination of errors in the program code, or maybe after reporting a few hundred of them. The IDE works otherwise fine, just