X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/94ff46dc2849db4d43eaaf144872decc522aafb4..refs/heads/master:/bsd/pthread/workqueue_internal.h diff --git a/bsd/pthread/workqueue_internal.h b/bsd/pthread/workqueue_internal.h index 082441370..7d277572a 100644 --- a/bsd/pthread/workqueue_internal.h +++ b/bsd/pthread/workqueue_internal.h @@ -172,7 +172,7 @@ __options_decl(workq_tr_flags_t, uint8_t, { typedef struct workq_threadreq_s { union { - struct priority_queue_entry tr_entry; + struct priority_queue_entry_sched tr_entry; thread_t tr_thread; }; uint16_t tr_count; @@ -245,9 +245,9 @@ struct workqueue { struct workq_uthread_head wq_thnewlist; struct workq_uthread_head wq_thidlelist; - struct priority_queue wq_overcommit_queue; - struct priority_queue wq_constrained_queue; - struct priority_queue wq_special_queue; + struct priority_queue_sched_max wq_overcommit_queue; + struct priority_queue_sched_max wq_constrained_queue; + struct priority_queue_sched_max wq_special_queue; workq_threadreq_t wq_event_manager_threadreq; }; @@ -302,7 +302,6 @@ enum workq_set_self_flags { WORKQ_SET_SELF_FIXEDPRIORITY_FLAG = 0x04, WORKQ_SET_SELF_TIMESHARE_FLAG = 0x08, WORKQ_SET_SELF_WQ_KEVENT_UNBIND = 0x10, - WORKQ_SET_SELF_ALTERNATE_AMX = 0x20, }; void workq_proc_suspended(struct proc *p);