[fpc-devel] LockFree Queue algorithm
florian at freepascal.org
Mon Jan 28 08:46:18 CET 2008
> Florian Klaempfl pisze:
>> An if is unimportant, more important is the number of locked operations,
>> especially on multi core systems they might eat hundreds of clock cycles.
> There are atomic operations, the should not eat much more than ordinal
> INC or ADD,
If course they are. They require no more a bus lock as in 486 times but
a synchronization of all caches for this particular memory location.
More information about the fpc-devel