mod todo.
Move to gcc atomic for basic test.
suppress warning about write in torture test.