Skip to content

Commit 7845de8

Browse files
committed
remove duplicated status logic
1 parent 6f38910 commit 7845de8

File tree

2 files changed

+290
-360
lines changed

2 files changed

+290
-360
lines changed

stdlib/public/BackDeployConcurrency/TaskGroup.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -846,7 +846,7 @@ PollResult TaskGroupImpl::poll(AsyncTask *waitingTask) {
846846
}
847847

848848
// ==== 3) Add to wait queue -------------------------------------------------
849-
assert(assumed.readyTasks() == 0);
849+
assert(assumed.readyTasks(this) == 0);
850850
_swift_tsan_release(static_cast<Job *>(waitingTask));
851851
while (true) {
852852
if (!hasSuspended) {

0 commit comments

Comments
 (0)