Threading Lab #4 for CSE2431.