Start an example on pthread condition variables
Replace pthread_cancel with pthread_exit mechanism
Make the conditional variable example work