[fpc-pascal] Is TFPList thread safe?
Xiangrong Fang
xrfang at gmail.com
Thu Oct 2 16:23:24 CEST 2014
2014-10-02 22:09 GMT+08:00 Michael Schnell <mschnell at lumino.de>:
>
> AFAIR, in Linux, the fpc RTL calls the pthread library "mutex..."
> function. This library uses Futex, if the arch supports that, and uses the
> plain old MUTEX system call if the arch does not support FUTEX.
>
I need my program to work on both Linux and Windows, can I still use
FUTEX? For Critical Sections, FPC has the TCriticalSection object, is
there a TMutex object?
Xiangrong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20141002/4d71b5cc/attachment.html>
More information about the fpc-pascal
mailing list