Skip to content

Commit 3c3b19d

Browse files
Revert GlobalExecutor changes caused by bd62fdb
1 parent f72035c commit 3c3b19d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/Concurrency/GlobalExecutor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ static DelayedJob *DelayedJobQueue = nullptr;
8888

8989
/// Get the next-in-queue storage slot.
9090
static Job *&nextInQueue(Job *cur) {
91-
return reinterpret_cast<Job*&>(&cur->SchedulerPrivate[NextWaitingTaskIndex]);
91+
return reinterpret_cast<Job*&>(cur->SchedulerPrivate);
9292
}
9393

9494
/// Insert a job into the cooperative global queue.

0 commit comments

Comments
 (0)