Added pthread_barrier_t but with errors

XCode thinks pthread_barrier_t is an unkown type. Also consult here for barrier and mux info:

http://pages.cs.wisc.edu/~travitch/pthreads_primer.html
http://stackoverflow.com/questions/5947061/mutex-as-class-member