2014-10-02 14:16 GMT+08:00 Michael Van Canneyt <mich...@freepascal.org>:
> > TFPList is not thread-safe. You need to use TThreadList if you want a > thread-safe list. > > Critical sections use OS calls, so there is always a performance penalty. I think the only thread-critical operation I need is to add item to the list, so I will use critical section myself, not replace TFPList with TThreadList, for simplicity and performance reason... Xiangrong
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal