search for: __sync_test_and_set

Displaying 1 result from an estimated 1 matches for "__sync_test_and_set".

2014 Jun 03
2
[LLVMdev] llvm atomics on 64-bit values
...9;t figure out an obvious reason for this other than perhaps nobody ever had need of this yet, but given that this is kind of a low level thing, I thought I should ask first. Is there any reason I should not add 64-bit versions of the atomic functions? Additionally, the function I need looks like __sync_test_and_set() on GNU, for which the documentation has this to say: Many targets have only minimal support for such locks, and do not support a full exchange operation. In this case, a target may support reduced functionality here by which the *only* valid value to store is the immediate constant 1. The exact...