define the task_priority to macro