[fpc-devel]criticalsection

Michael.VanCanneyt at Wisa.be Michael.VanCanneyt at Wisa.be
Sun Jan 14 11:46:09 CET 2001


On Sun, 14 Jan 2001, Aleksey V. Vaneev wrote:

> Hello,
> 
>   Is it possible to implement some portable criticalsection support?
>   Under go32v2 it will be some global LockCount var. If entering
>   critical section, it will be incremented and "cli" issued. If
>   leaving, it will be decremented and if it's zero, "sti" issued.
> 
>   Under other systems it supported natively I suppose.
> 
>   So, there's only wrapper needed. I can provide it, but there's need
>   in support for other platforms.

Currently, we're adding support for Threads and CriticalSection to 
the development branch. But for go32 this doesn't make much sense 
since it doesn't know threads.

Michael.





More information about the fpc-devel mailing list