added functionality to tell schedulers to refuse to run tasks that are not pinned to them