Konrad `ktoso` Malawski
34f8e768b5
spawnDetached to detach, non-suspending group.spawn, spawnUnlessCancelled
2021-04-03 09:53:32 +09:00
Konrad `ktoso` Malawski
6e746304e1
[Concurrency] Update Task and Group APIs based on Review 1
2021-04-03 09:52:03 +09:00
Mike Ash
1173b737aa
[Concurrency] Add availability to Concurrency APIs.
...
This allows programs to target older OSes while using Concurrency behind an availability check. When targeting older OSes, the symbols are weak-linked and the compiler will require the use of Concurrency features to be guarded by an availability check.
rdar://75850003
2021-04-01 10:42:08 -04:00
Karoy Lorentey
24aca4072a
[test] Skip concurrency tests during back deployment testing
...
rdar://76038845
2021-03-30 22:35:38 -07:00
Arnold Schwaighofer
5f96635188
OS=windows does not seem to do it
2021-03-11 09:54:07 -08:00
Arnold Schwaighofer
8c4278f33f
Disable failing concurrency tests on windows
...
SR-14333
2021-03-11 08:05:36 -08:00
Konrad `ktoso` Malawski
de5fdcd2f8
[TaskGroup] fix missing retain in scheduling next() immediately on offer
2021-02-24 18:45:33 +09:00
Konrad `ktoso` Malawski
b33fae8656
import dispatch in tests, so they can run on linux as well
2021-02-22 13:26:38 +09:00
Konrad `ktoso` Malawski
b1e5c4a2c4
test cleanups, additional test to check we dont cancel other groups
2021-02-22 13:26:28 +09:00
Konrad `ktoso` Malawski
a55ebff942
[Concurrency] deprecate not implemented Task functions, until they're implemented
2021-02-12 16:33:16 +09:00
Nate Chandler
73c9733779
[Test] Reenabled Concurrency/Runtime tests on arm64e.
2021-02-03 19:21:59 -08:00
Nate Chandler
798f86981f
[Test] Replaced runAsyncAndBlock with async @main.
...
The last outstanding usage is in
Concurrency/Runtime/checked_continuation.swift
2021-01-28 17:14:55 -08:00
Ben Barham
b3bafb19e1
[Tests] Temporarily disable flakey async taskgroup test
...
Test was previously disabled for ASAN, but it is also failing on regular
builds. Disable until it can be looked into.
2021-01-16 13:17:30 +10:00
Nate Chandler
7f9d98192e
[Test] Temporarily disable Runtime/async_taskgroup_throw_rethrow.swift
...
rdar://problem/73154198
2021-01-13 09:32:46 -08:00
Doug Gregor
3c38ffe0ea
[Concurrency] await try -> try await
...
The `try await` ordering is both easier to read and indicates the order
of operations better, because the suspension point occurs first and
then one can observe a thrown error.
2020-12-23 13:21:59 -08:00
Konrad `ktoso` Malawski
b267778bf1
Rebased to use new global executor
2020-12-17 06:05:13 +09:00
Konrad `ktoso` Malawski
7b37554096
[Concurrency] Initial TaskGroup implementation working
2020-12-17 06:05:13 +09:00