Change .hpp to .h
Added pthread_cond_*