[fpc-pascal] Semaphore problems

Micha Nelissen micha at neli.hopto.org
Tue Jul 25 08:40:01 CEST 2006

Vinzent Höfler wrote:
> because we assume it's non-recursive, that was the whole point. So we
> should *first* check the count and then may lock/unlock the mutex
> accordingly.

Note that these two actions must be atomic. This is what the TryLock is for.


More information about the fpc-pascal mailing list