[fpc-pascal] Question on how to avoid memory trouble
Florian Klaempfl
florian at freepascal.org
Tue Feb 13 10:53:26 CET 2007
Vincent Snijders schrieb:
> Helmut Hartl schreef:
>
>> http://www.research.ibm.com/people/m/michael/pldi-2004.pdf
>>
>
> This one is not lock free, because it uses atomic instructions used by
> the cpu, which are essentially fine grained locks.
Exactly, and cmpxchg etc. are really expensive too. Since the original
FPC heap uses already several pools, it should be easily possible to
make it scale better in multi threaded applications.
More information about the fpc-pascal
mailing list