We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fcec10c commit 8af35feCopy full SHA for 8af35fe
lldb/test/API/lang/swift/async/actors/unprioritised_jobs/main.swift
@@ -4,7 +4,7 @@ actor Actor {
4
var data: Int = 15
5
6
func occupy() async {
7
- Thread.sleep(forTimeInterval: 100)
+ Thread.sleep(forTimeInterval: 200)
8
}
9
10
func work() async -> Int {
@@ -21,6 +21,7 @@ actor Actor {
21
async let _ = a.work()
22
23
24
+ try? await Task.sleep(for: .seconds(0.5))
25
print("break here")
26
27
0 commit comments