Started branch to replace C11 atomics with simpler (but hopefully lock-free)
implementation