Atomic: Add swap and compareAndSwap
Add Signal implementation for windows