Skip to content

Commit 6e8287c

Browse files
authored
Merge pull request #82835 from al45tair/eng/PR-155054460
[Concurrency] Don't use ExecutorJob for task-to-thread model.
2 parents 569ca00 + 79f746e commit 6e8287c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

stdlib/public/Concurrency/PartialAsyncTask.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -929,6 +929,7 @@ public func _abiEnableAwaitContinuation() {
929929
fatalError("never use this function")
930930
}
931931

932+
#if !SWIFT_STDLIB_TASK_TO_THREAD_MODEL_CONCURRENCY
932933
@available(StdlibDeploymentTarget 6.2, *)
933934
@_silgen_name("_swift_createJobForTestingOnly")
934935
public func _swift_createJobForTestingOnly(
@@ -942,3 +943,4 @@ public func _swift_createJobForTestingOnly(
942943
job.priority = JobPriority(priority)
943944
return job
944945
}
946+
#endif

0 commit comments

Comments
 (0)