Commit Graph

11 Commits

Author SHA1 Message Date
Konrad `ktoso` Malawski
3f84b0fb55 Update test/Concurrency/Runtime/async_taskgroup_discarding.swift 2023-07-20 14:10:17 +09:00
Konrad `ktoso` Malawski
bcf9d1b111 Enable test: discarding task group making sure we deinit confidently 2023-07-20 08:09:22 +09:00
Hamish Knight
9541dc158e [test] Disable async_taskgroup_discarding.swift 2023-05-31 13:12:25 +01:00
Konrad `ktoso` Malawski
9f5a707a30 back to println tests 2023-05-24 18:03:46 +02:00
Konrad `ktoso` Malawski
cad608eb81 [Discarding] Don't leak retained "first error" task when retaining it 2023-05-24 18:03:28 +02:00
Konrad `ktoso` Malawski
439555ab35 [Concurrency] Disable test in freestanding mode 2023-04-20 07:30:05 +09:00
Konrad `ktoso` Malawski
7cebe1e429 Update async_taskgroup_discarding.swift 2023-04-19 22:11:05 +09:00
Konrad `ktoso` Malawski
6139c0c5f8 Re-enable discarding group tests 2023-04-18 12:52:37 +09:00
Artem Chikin
5b662d8ec5 [Concurrency] Fix REQUIRES syntax in disabled TaskGroup tests (#63277) 2023-01-27 16:49:00 -08:00
Dario Rexin
7c9f4aa74c [Concurrency] Disable unstable TaskGroup tests 2023-01-27 15:08:03 -08:00
Konrad `ktoso` Malawski
99fb37f678 [Concurrency] Fix too optimistic TaskGroup bail-out-when-empty, (#63016)
* [Concurrency] Fix too optimistic bail-out-when-empty, discarding group
may need to emit an error out of such waitAll attempt, if a previous
error was already stored.

* [Concurrency] DiscardingTG error thrown from body always wins

* Offering body error must be done while holding lock

* Must not modify waitingTask context outside lock

* wip on trying to fix by changing the offer

* fix bug in resuming tasks in offer/resume task in discarding group

* Fix #63147 waitForAll impl in ThrowingTaskGroup, used to not wait enough

rdar://104507347

* done

* debug

* explicitly declare virtual destructors

* detach child task after filling result; dont mutate context outside of lock

* Add pending count overflow protection to TaskGroup

* unlock async_taskgroup_void_neverConsumingTasks again rdar://104332560

* missing include on windows for error reporting

* fix ARM_ARCH_7K workaround snippet
2023-01-27 19:00:26 +09:00