]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/pthread/workqueue_internal.h
xnu-7195.101.1.tar.gz
[apple/xnu.git] / bsd / pthread / workqueue_internal.h
index 0824413708e55c8ec7108ce3ead9395678f4d012..7d277572a89c2bd551d372fa2ae3787b7efbc5a5 100644 (file)
@@ -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);