Added pthread synchronization primitives
Forgot some documentation