Add synchronization primitives
Merge branch 'master' of github.com:tylertreat/sync