A java thread synchronization class project.