protection and thread scheduling 4458447