[fpc-pascal] Multi-Threading and usage of Semaphors under FPC

Jonas Maebe jonas.maebe at elis.ugent.be
Fri Sep 11 16:47:24 CEST 2009

On 11 Sep 2009, at 16:40, Graeme Geldenhuys wrote:

> I had a previous discussion about Semaphores. Apparently my usage of
> them was not very good, because they were specific to the Linux system
> and Posix. Anyway, I was told it is better to use the ThreadManager.
> So how do I translate code as show below to using the FPC  
> ThreadManager?

Using the thread manager directly is not supported. There is no  
counting semaphore abstraction available in FPC at this point, as far  
as I know.


More information about the fpc-pascal mailing list