Commit Graph

14 Commits

Author SHA1 Message Date
Konrad `ktoso` Malawski
828f589be4 Initial Task Executor implementation Task(on:), addTask(on:) etc. (#68793)
Co-authored-by: John McCall <rjmccall@gmail.com>
2023-12-12 17:14:24 +09:00
Konrad `ktoso` Malawski
da6f08a24e [Concurrency] Adopt stable keyword consuming instead of __owned
add test for warnings emitted when missing consuming attribute

use -emit-sil in mock SDK tests for better coverage
2023-05-11 15:18:54 +02:00
Konrad `ktoso` Malawski
e19ccb2228 [Executors] Avoid using Job typealias and use the ExecutorJob explicitly 2023-04-14 18:44:17 +09:00
Konrad `ktoso` Malawski
d09665a9a4 [Concurrency] Unlock executor tests on iOS again, moveonly issue was resolved (#65039) 2023-04-11 08:00:33 +09:00
Konrad `ktoso` Malawski
b8780c9d9e [Executors] Move assert/assume APIs onto actors; assumeIsolated() (#64812) 2023-04-04 07:44:43 +09:00
Konrad `ktoso` Malawski
0586c14b60 [Concurrency] SerialExecutor.isSameExclusiveExecutionContext (#64604) 2023-03-28 15:56:28 +09:00
Kavon Farvardin
363448a0d7 bring back the noncopyable Job type in the _Concurrency lib
This reverts commit abe377ce68.

Co-authored-by: Konrad `ktoso` Malawski <konrad_malawski@apple.com>
2023-03-24 08:58:40 -07:00
Alastair Houghton
88089ef06e [Concurrency][Tests] Fix UNSUPPORTED tags in custom executor tests.
Adding a comment on the same line isn't supported.

rdar://107132004
2023-03-23 13:27:50 +00:00
Konrad `ktoso` Malawski
b38bcd2888 disable a few tests on iOS while we investigate 2023-03-23 11:11:17 +09:00
Konrad `ktoso` Malawski
abe377ce68 [Workaround][Concurrency] Mark Job as NOT moveonly until we fix moveonly types (#64536) 2023-03-23 07:43:51 +09:00
Konrad `ktoso` Malawski
24a38fc090 [Concurrency] Verify the #if guards around moveonly Job (#64477) 2023-03-20 20:09:45 +09:00
Konrad `ktoso` Malawski
e0877594da [Concurrency] Custom executors with move-only Job (#63569) 2023-03-18 14:02:43 +09:00
Konrad `ktoso` Malawski
6b95ff7a25 [Concurrenncy] add internal way to assert we're on expected executor 2023-02-08 15:41:25 +09:00
Konrad `ktoso` Malawski
307ec5a378 [Concurrency] unownedExecutor can be declared not directly on actor 2023-02-08 13:38:02 +09:00