[fpc-pascal] Is TFPList thread safe?
Marco van de Voort
marcov at stack.nl
Mon Oct 6 12:18:18 CEST 2014
In our previous episode, Michael Schnell said:
> > For Critical Sections, FPC has the TCriticalSection object, is there a
> > TMutex object?
>
> AFAI understand, "CriticalSection" is the Delphi/fpc name for
> "POSIX-Mutex".
Critical sections are bound to the owning process under Windows, while
Windows mutexes can span processes (and thus are more expensive).
So critical section is equal to posix mutex with PTHREAD_PROCESS_PRIVATE
attribute.
More information about the fpc-pascal
mailing list