Use atomic exchange instead of CAS in try_lock()
authorkhizmax <libcds.dev@gmail.com>
Wed, 5 Apr 2017 20:44:33 +0000 (23:44 +0300)
committerkhizmax <libcds.dev@gmail.com>
Wed, 5 Apr 2017 20:44:33 +0000 (23:44 +0300)
commit3cad6f6735154ae5de0e99c62cd96b9dee40e8cf
treee4a1d4e0f0e212db28775636c84569fe5f5f68b9
parent3e6373d5dfa4be891dffa1f9aabc3b60d0dc18dd
Use atomic exchange instead of CAS in try_lock()
Added TSan annotations
cds/sync/spinlock.h