Solutions to Thread Issues in Parallel Programs (1)