Use an Atomic+WaitableEvent instead of mutex for some rt actions
This small macro was the wrong way