Index: src/core/SkThreadPriv.h |
diff --git a/src/core/SkThreadPriv.h b/src/core/SkThreadPriv.h |
index a9729216064ab25d35092310e96e73dd3791eef3..c44cca53509015e783e56c79b8cc086bd931f5cd 100644 |
--- a/src/core/SkThreadPriv.h |
+++ b/src/core/SkThreadPriv.h |
@@ -14,7 +14,7 @@ |
/** Atomic compare and set, for pointers. |
* If *addr == before, set *addr to after. Always returns previous value of *addr. |
- * This must act as a compiler barrier. |
+ * This must issue a release barrier on success, acquire on failure, and always a compiler barrier. |
*/ |
static void* sk_atomic_cas(void** addr, void* before, void* after); |