[fpc-devel] about realtime tasks

Florian Klaempfl florian at freepascal.org
Thu Jan 19 09:24:37 CET 2006


Stefan Kisdaroczi wrote:

> Am Wednesday 18 January 2006 12:06 schrieb Vinzent Hoefler:
> 
>>On Wednesday 18 January 2006 10:30, Stefan Kisdaroczi wrote:
> 
> ...
> 
>>>When I include cthreads and (manually?) initialize the ThreadManager,
>>>would it be ok ?
>>
>>I think you should "simply" write and install your own thread manager
>>based on the (native or the RT-POSIX-threads) xenomai API and link to
>>the xenomai library _instead_ of the libpthread.
> 
> Looking at the thread manager it seems the right way to go. Great that you can 
> just drop in your own manager. I'm really happy now, this seems just perfect 
> for my needs.
> 
> Thx Vinzent for the hint, and thx to all for this nice compiler.
> Have a nice day.
> 

Using the implementation of the C based thread manager might avoid some foot
traps regarding threadvars etc.



More information about the fpc-devel mailing list