fixed pthread_create call.
corrected comments.