Create pthread/Makefile.
Add pthread support.
alarm_mutex modified from pthread book.