File tree Expand file tree Collapse file tree 5 files changed +7
-2
lines changed Expand file tree Collapse file tree 5 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 55// rdar://76038845
66// REQUIRES: concurrency_runtime
77// UNSUPPORTED: back_deployment_runtime
8+ // UNSUPPORTED: single_threaded_runtime
89
910// for sleep
1011#if canImport(Darwin)
Original file line number Diff line number Diff line change 88// rdar://76038845
99// REQUIRES: concurrency_runtime
1010// UNSUPPORTED: back_deployment_runtime
11+ // UNSUPPORTED: single_threaded_runtime
1112
1213import _Concurrency
1314import Dispatch
@@ -58,14 +59,14 @@ actor MyActor {
5859struct Runner {
5960 static func main( ) async {
6061 print ( " Launching a main-actor task " )
61- // CHECK: warning: data race detected: @MainActor function at main/data_race_detection.swift:22 was not called on the main thread
62+ // CHECK: warning: data race detected: @MainActor function at main/data_race_detection.swift:23 was not called on the main thread
6263 launchFromMainThread ( )
6364 sleep ( 1 )
6465
6566 let actor = MyActor ( )
6667 let actorFn = await actor . getTaskOnMyActor ( )
6768 print ( " Launching an actor-instance task " )
68- // CHECK: warning: data race detected: actor-isolated function at main/data_race_detection.swift:51 was not called on the same actor
69+ // CHECK: warning: data race detected: actor-isolated function at main/data_race_detection.swift:52 was not called on the same actor
6970 launchTask ( actorFn)
7071
7172 sleep ( 1 )
Original file line number Diff line number Diff line change 77// rdar://76038845
88// REQUIRES: concurrency_runtime
99// UNSUPPORTED: back_deployment_runtime
10+ // UNSUPPORTED: single_threaded_runtime
1011
1112import Dispatch
1213
Original file line number Diff line number Diff line change 44// RUN: %target-codesign %t/a.out
55// RUN: %target-run %t/a.out
66// REQUIRES: executable_test
7+ // UNSUPPORTED: single_threaded_runtime
78
89// Tests for traps at run time when enforcing exclusive access.
910
Original file line number Diff line number Diff line change 11// RUN: %target-run-simple-swift
22// REQUIRES: executable_test
3+ // UNSUPPORTED: single_threaded_runtime
34
45// Exercise the metadata cache from multiple threads to shake out any
56// concurrency bugs.
You can’t perform that action at this time.
0 commit comments