Allan Shortlidge
c02fc4724d
Tests: Remove -disable-availability-checking from many Concurrency tests.
...
Instead, use the `%target-swift-5.1-abi-triple` substitution to compile the tests
for deployment to the minimum OS versions required for use of _Concurrency APIs.
2024-10-18 16:21:51 -07:00
Konrad `ktoso` Malawski
dc5e354d69
[Concurrency] Reimplement @TaskLocal as a macro ( #73078 )
2024-05-01 20:57:20 -07:00
Konrad `ktoso` Malawski
e803a5fc23
Reenable async_task_locals_groups.swift
...
Resolves rdar://82092187
This was likely the same task group issue as in other places - reenabling the test
2023-08-29 07:57:10 +09:00
Karoy Lorentey
47956908b7
[Concurrency] SwiftStdlib 5.5 ⟹ SwiftStdlib 5.1 (usages)
...
The concurrency runtime now deploys back to macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, which corresponds to the 5.1 release of the stdlib.
Adjust macro usages accordingly.
2021-10-28 14:36:36 -07:00
Doug Gregor
3ee09a2298
Switch concurrency runtime tests to "REQUIRES: concurrency_runtime"
...
Rather than blanket-disabling concurrency tests when we aren't using a
just-built concurrency library, enable them whenever we have a
suitable concurrency runtime, either just-built, in the OS, or via the
back-deployment libraries.
2021-09-13 12:34:20 -07:00
Hamish Knight
323fbdbbab
[test] Disable async_task_locals_groups.swift
...
rdar://82092187
2021-08-18 21:44:45 +01:00
Doug Gregor
eeeea49764
Remove -enable-experimental-concurrency almost everywhere.
2021-07-26 21:24:43 -07:00
Konrad `ktoso` Malawski
1bb29056e0
[Concurrency] Additional test for Task{} spawned within group ( #38554 )
2021-07-23 05:59:03 +09:00
Doug Gregor
1e2012d816
Disable availability checking in tests that use concurrency
2021-07-20 12:46:26 -07:00
Konrad `ktoso` Malawski
82e91b7785
[TaskLocals] Enable sync functions to bind task-locals; Keep Storage in TLS
2021-05-11 11:06:16 +09:00
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
070f9a773b
[TaskLocals] review 2: projected value wrapper
2021-04-29 15:48:23 +09:00
Konrad `ktoso` Malawski
f0781b1f8b
[TaskLocals] prettier API thanks to default inits
2021-04-29 15:48:23 +09:00
Konrad `ktoso` Malawski
664936cd03
[TaskLocal] crash on illegal withValue
2021-04-29 15:48:22 +09:00
Konrad `ktoso` Malawski
3d96d05546
[TaskLocals] property wrapper keys
2021-04-29 15:48:09 +09:00
Nate Chandler
ff7c98123a
[Test] Disabled several Concurrency tests for back_deployment_runtime.
...
rdar://76566598
2021-04-13 15:27:41 -07: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
Karoy Lorentey
24aca4072a
[test] Skip concurrency tests during back deployment testing
...
rdar://76038845
2021-03-30 22:35:38 -07:00
Konrad `ktoso` Malawski
fcb1c01a36
[TaskLocal] Use the task-local stack discipline allocator
2021-03-02 11:14:41 +09:00
Konrad `ktoso` Malawski
5c71ba98e2
[TaskLocal] remove unnecessary awaits, trys, and rename tests
2021-03-02 00:54:47 +09:00