[fpc-pascal] Getting the state of a TRTLCriticalSection

Michael Van Canneyt michael at freepascal.org
Sun Oct 6 16:44:46 CEST 2013



On Sun, 6 Oct 2013, Mark Morgan Lloyd wrote:

> Is there a preferred way of reading back whether something (including the 
> current thread) has already entered a TCriticalSection?

To my knowlede this does not exist.

The Microsoft implementation of a critical section has TryEnterCriticalSection, 
but I do not know how portable or useful that is.


Michael.



More information about the fpc-pascal mailing list