[fpc-pascal] atomic primitives for lock-free algorithms?

Dariusz Mazur darekm at emadar.com
Wed Feb 13 23:37:51 CET 2008


Marco Alvarado pisze:
> I'm reading about lock-free algorithms:
> http://en.wikipedia.org/wiki/Lock-free_algorithms#Implementation
>
> Is there a way to access those atomic primitives, but in a multiplatform manner?
>
>   
CAS=interlockedCompareExchange
as in Microsoft API
rest in unit classes

Darek







More information about the fpc-pascal mailing list