Konrad `ktoso` Malawski
5e43ba9895
Don't trigger warnings about stdlib itself when user code might trigger them
...
The standard library's enqueue() does not play by the same rules -- we
provide "deprecated" implementations in order to remain source/binary
compatible, and showing warnings about this when users make mistake will
only be misleading.
2023-08-16 22:22:37 +09:00
Konrad `ktoso` Malawski
d0b6f4ef10
dont use loc validity to determine if we should diagnose; instead, error if all implementations are "default from stdlib" because end-user MUST implement at least one of them
2023-08-16 20:25:32 +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
8d6980ec10
[Executors] Make move to ExecutorJob binary compatible; deprecate Job
2023-05-02 14:44:11 +09:00
Konrad `ktoso` Malawski
80b93863a9
[Concurrency] Rename Job to ExecutorJob, ease transition with typealias ( #65006 )
2023-04-11 14:52:10 +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