[fpc-pascal] Question on how to avoid memory trouble
Helmut Hartl
helmut.hartl at firmos.at
Tue Feb 13 13:12:39 CET 2007
> >
> > 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.
Fine that sounds really nice - Do you already have a idea what
is not optimal and can be enhanced ?
Maybe I will find the time to give it a try
helmut
More information about the fpc-pascal
mailing list