Adding sock_atomic