Commit Graph

12 Commits

Author SHA1 Message Date
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
Dario Rexin
14ab1a233f Cleanup after rebase 2021-03-04 09:37:59 -08:00
Konrad `ktoso` Malawski
eb8fc8c70f [Concurrency] disable async_taskgroup_is_asyncsequence on windows
It seems this test not only has issues on Linux but also windows.
https://ci-external.swift.org/job/oss-swift-windows-x86_64-vs2019/4488/console


Disable for now, until we're able to fix it.
2021-02-27 11:13:20 +09:00
Konrad `ktoso` Malawski
163cb9efa0 [TaskGroup] temprorarily disable is async sequence test on linux 2021-02-26 17:54:03 +09: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
9a08475edf [TaskGroup] for now require macOS on a few tests 2021-02-22 20:42:53 +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
999758cc85 [Concurrency][TaskGroup] allow cancelAll be invoked from child tasks 2021-02-22 13:26:33 +09:00
Konrad `ktoso` Malawski
12e2ba07b1 [Concurrency] Conform Task.Group to AsyncSequence 2021-02-22 13:26:33 +09:00