Doug Gregor
4e306bb8ab
Revert "[Test] Disable failing concurrency tests on Linux."
...
This reverts commit 766bf78eea .
2021-04-14 23:33:51 -07:00
Holly Borla
766bf78eea
[Test] Disable failing concurrency tests on Linux.
2021-04-14 10:44:46 -07:00
Nate Chandler
ff7c98123a
[Test] Disabled several Concurrency tests for back_deployment_runtime.
...
rdar://76566598
2021-04-13 15:27:41 -07:00
Karoy Lorentey
24aca4072a
[test] Skip concurrency tests during back deployment testing
...
rdar://76038845
2021-03-30 22:35:38 -07:00
Doug Gregor
52096a640e
SE-0302: Rename ConcurrentValue/@concurrent to Sendable/@Sendable.
2021-03-18 23:48:21 -07:00
Evan Wilde
12c3eb24c7
Verify that main is running on main thread
...
This patch adds a check to verify that we're running on the main thread
when running the async-main function.
2021-03-02 22:36:12 -08:00
Dario Rexin
e8b36abb63
[Concurrency] Enable concurrent global executor on non-Darwin platforms ( #35871 )
...
* [Concurrency] Enable concurrent global executor on non-Darwin platforms
* Fix runtime unittest build
2021-02-10 14:12:21 -08:00
Evan Wilde
8b80331c3d
Updating tests to use actor
...
This patch updates the `actor class` spelling to `actor` in almost all
of the tests. There are places where I verify that we sanely handle
`actor` as an attribute though. These include:
- test/decl/class/actor/basic.swift
- test/decl/protocol/special/Actor.swift
- test/SourceKit/CursorInfo/cursor_info_concurrency.swift
- test/attr/attr_objc_async.swift
- test/ModuleInterface/actor_protocol.swift
2021-02-10 08:09:13 -08:00
Kavon Farvardin
5a31eea203
simplify and enhance mainactor runtime test
...
1. removed dependency on CoreFoundation
2. removed use of `exit(:Int)` in favor
of actually returning and exiting normally
3. added some returned values to make sure
those are working fine.
2021-02-09 15:56:04 -08:00
Nate Chandler
3df7b67f1e
[IRGen] Sign task resume context in swift_suspend_point.
...
rdar://72357371
2021-02-03 19:43:39 -08:00
Nate Chandler
53d8780ca0
[Test] Reenable most arm64e concurrency tests.
...
rdar://72357371
2021-02-03 08:25:52 -08:00
Doug Gregor
9efb44fde8
Adopt @concurrent in Task APIs
2021-01-28 10:03:09 -08:00
Arnold Schwaighofer
17109ccfc7
IRGen: Fix unreachable lowering in async functions
...
We need to add the coro.end intrinsic call for lowering to process
functions correctly.
rdar://73274012
2021-01-19 08:48:11 -08:00
Kavon Farvardin
adf223a052
disable mainactor test
...
there's an unseen failure in CI
2021-01-15 14:17:01 -08:00
Kavon Farvardin
dc218bbbe6
fixed MainActor executable regression test
2021-01-14 17:44:05 -08:00
Kavon Farvardin
91e2246c19
quick-and-dirty implementation of MainActor in the runtime system
...
it is "dirty" in the sense that we don't have proper support for
custom executors right now.
2021-01-14 17:43:58 -08:00
Mishal Shah
06350549f5
Update mainactor.swift
2021-01-08 11:49:30 -08:00
Kavon Farvardin
d531835f4c
[concurrency] add executable test of MainActor
2021-01-06 15:01:22 -08:00