[fpc-devel] LockFree Queue algorithm

DarekM darekm at emadar.com
Mon Jan 28 08:30:49 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,
and second CAS is invoked only one time per fSize iteriations.


Darek

> __




More information about the fpc-devel mailing list