[LLVMdev] Atomic Operation and Synchronization Proposal v2

Torvald Riegel torvald at se.inf.tu-dresden.de
Fri Jul 13 06:54:55 PDT 2007


On Thursday 12 July 2007 14:23, Torvald Riegel wrote:
> Regarding swap(): Which uses do you have in mind? To me, support for TAS
> would be more useful as it is used for spinlocks (and no concurrent algo
> immediately comes to my mind that uses swap() and couldn't use TAS). The

Please ignore this statement, keep get-and-set. I should implement more 
locks ...
Nevertheless, I'd still like to see test-and-set.

torvald



More information about the llvm-dev mailing list