Fix race in ida_pre_get
Merge branch 'tsan-fixes' into tsan-dev-atomics
Add some tests for atomics