File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -462,6 +462,7 @@ print("call_taskImmediate_taskExecutor()")
462462@TaskLocal
463463nonisolated ( unsafe) var niceTaskLocalValueYouGotThere: String = " "
464464
465+ // FIXME: rdar://155596073 Task executors execution may not always hop as expected
465466func call_taskImmediate_taskExecutor( taskExecutor: NaiveQueueExecutor ) async {
466467 await Task . immediate ( executorPreference: taskExecutor) {
467468 print ( " Task.immediate(executorPreference:) " )
@@ -560,7 +561,8 @@ func call_taskImmediate_taskExecutor(taskExecutor: NaiveQueueExecutor) async {
560561 }
561562}
562563
563- await call_taskImmediate_taskExecutor (
564- taskExecutor: NaiveQueueExecutor ( queue: DispatchQueue ( label: " my-queue " ) ) )
564+ // FIXME: rdar://155596073 task executors can be somewhat racy it seems and not always hop as we'd want them to
565+ // await call_taskImmediate_taskExecutor(
566+ // taskExecutor: NaiveQueueExecutor(queue: DispatchQueue(label: "my-queue")))
565567
566568print ( " DONE! " ) // CHECK: DONE!
You can’t perform that action at this time.
0 commit comments