File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -5523,15 +5523,10 @@ _dispatch_worker_thread(void *context)
5523
5523
5524
5524
const int64_t timeout = 5ull * NSEC_PER_SEC ;
5525
5525
pthread_priority_t old_pri = _dispatch_get_priority ();
5526
- bool oversubscribed = false;
5527
5526
do {
5528
5527
_dispatch_root_queue_drain (dq , old_pri );
5529
5528
_dispatch_reset_priority_and_voucher (old_pri , NULL );
5530
- #if HAVE_INTERNAL_PTHREAD_WORKQUEUE
5531
- oversubscribed = os_atomic_load2o (qc , dgq_thread_pool_size , ordered ) < 0 ;
5532
- #endif
5533
- } while (!oversubscribed &&
5534
- dispatch_semaphore_wait (& pqc -> dpq_thread_mediator ,
5529
+ } while (dispatch_semaphore_wait (& pqc -> dpq_thread_mediator ,
5535
5530
dispatch_time (0 , timeout )) == 0 );
5536
5531
5537
5532
#if HAVE_INTERNAL_PTHREAD_WORKQUEUE
You can’t perform that action at this time.
0 commit comments