updated setpriority methods with locks