We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f72035c commit 3c3b19dCopy full SHA for 3c3b19d
stdlib/public/Concurrency/GlobalExecutor.cpp
@@ -88,7 +88,7 @@ static DelayedJob *DelayedJobQueue = nullptr;
88
89
/// Get the next-in-queue storage slot.
90
static Job *&nextInQueue(Job *cur) {
91
- return reinterpret_cast<Job*&>(&cur->SchedulerPrivate[NextWaitingTaskIndex]);
+ return reinterpret_cast<Job*&>(cur->SchedulerPrivate);
92
}
93
94
/// Insert a job into the cooperative global queue.
0 commit comments