Skip to content

Commit 13111ee

Browse files
committed
high pri
1 parent 961f477 commit 13111ee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/libraries/System.Private.CoreLib/src/System/Threading/ThreadPoolWorkQueue.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1151,7 +1151,7 @@ private void EnsureWorkerScheduled()
11511151
// Currently where this type is used, queued work is expected to be processed
11521152
// at high priority. The implementation could be modified to support different
11531153
// priorities if necessary.
1154-
ThreadPool.UnsafeQueueUserWorkItemInternal(this, preferLocal: false);
1154+
ThreadPool.UnsafeQueueHighPriorityWorkItemInternal(this);
11551155
}
11561156
}
11571157

0 commit comments

Comments
 (0)