Alastair Houghton
47fa71787f
Revert "Merge pull request #80224 from glessard/revert-79789-custom-executors"
...
This reverts commit 06f6358067 , reversing
changes made to 033f6679e8 .
2025-03-28 10:15:07 +00:00
Alastair Houghton
8b15b05c63
Revert "[Concurrency] Provide a Swift interface for custom main and global executors."
2025-03-22 02:38:11 -07:00
Alastair Houghton
167449f3db
[Concurrency] Fix a typo and use var not let.
...
Fix a typo that caused us to not include the correct code for platforms
that use "singlethreaded" concurrency.
Also use `var` not `let` for the computed property in `PlatformExecutorFactory`.
rdar://141348916
2025-03-18 10:39:41 +00:00
Alastair Houghton
f0defd83bd
[Concurrency] Add CooperativeExecutor, use it.
...
Also tweak the sleep implementations to let the hooks run if there
isn't a `SchedulableExecutor` (for hooked mode).
rdar://141348916
2025-03-17 13:10:35 +00:00