[fpc-devel] LockFree Queue algorithm
Michael Schnell
mschnell at lumino.de
Wed Jan 30 08:42:33 CET 2008
> We don't need wait to synchronize caches. It will be done by hardware.
Right. but waiting performed by the hardware does not take less long
than waiting performed by software :-) .
> And i think synchronize cache with ram don't eat hundreads clock cycles.
In all cashed that contain the memory location, the appropriate cache
line will be invalidated. Thus it needs to be reloaded from main memory
before it can be accessed by the processor. This might introduce a huge
delay in a processor a long time after the the locking instruction was
performed by some different processor.
-Michael
More information about the fpc-devel
mailing list