Alexis Laferrière
3310a55682
[Test] Use the SwiftStdlib 5.5 macro in Concurrency tests
2021-05-06 13:48:49 -07:00
Konrad `ktoso` Malawski
74eee6a79c
[Concurrency] shim for deprecated Task.withCancellationHandler
2021-04-06 13:07:11 +09:00
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
Doug Gregor
9579390024
[SE-0304] Rename ConcurrentValue to Sendable
2021-03-18 22:48:20 -07:00
Doug Gregor
ecf36ba6bc
Enable ConcurrentValue checking as part of Concurrency mode.
...
Drop the separate flag guarding this checking.
2021-02-22 00:29:56 -08:00
Konrad `ktoso` Malawski
4e6e159397
[Concurrency] fix unintended warning failing async_cancellation test
2021-02-18 20:05:45 +09:00
Konrad `ktoso` Malawski
a55ebff942
[Concurrency] deprecate not implemented Task functions, until they're implemented
2021-02-12 16:33:16 +09:00
Konrad `ktoso` Malawski
80ee936a72
Revert "[Concurrency] isCanceled spelling to follow guidance"
2021-01-23 07:27:34 +09:00
Konrad `ktoso` Malawski
8b37455774
[Concurrency] isCanceled spelling to follow guidance
2021-01-22 12:09:19 +09: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
Kavon Farvardin
fa336cf392
update test now that rdar://70751405 is fixed
2020-11-03 16:58:02 -08:00
Konrad `ktoso` Malawski
9e8f2cc031
[Concurrency] Task cancellation and deadline stubs
2020-11-02 20:51:00 +09:00