Konrad `ktoso` Malawski
8b37455774
[Concurrency] isCanceled spelling to follow guidance
2021-01-22 12:09:19 +09:00
Doug Gregor
3c38ffe0ea
[Concurrency] await try -> try await
...
The `try await` ordering is both easier to read and indicates the order
of operations better, because the suspension point occurs first and
then one can observe a thrown error.
2020-12-23 13:21:59 -08:00
Konrad `ktoso` Malawski
b267778bf1
Rebased to use new global executor
2020-12-17 06:05:13 +09:00
Konrad `ktoso` Malawski
9e1ecc539c
[Concurrency] guard offer/poll with a lock for now; cleanups
2020-12-17 06:05:13 +09:00
Konrad `ktoso` Malawski
7b37554096
[Concurrency] Initial TaskGroup implementation working
2020-12-17 06:05:13 +09:00
Konrad `ktoso` Malawski
e294c7cbad
[Concurrency] Implement TaskGroup.isEmpty via readyQueue
...
before reversing order of fragments; future must be last since dynamic
size
offer fixed
before implementing poll
2020-12-17 06:05:13 +09:00
Konrad `ktoso` Malawski
520b513e8a
[Concurrency] Task: isCancelled,checkCancelled implementation
...
move comments to the wired up continuations
remove duplicated continuations; leep the wired up ones
before moving to C++ for queue impl
trying to next wait via channel_poll
submitting works; need to impl next()
2020-12-17 06:05:13 +09:00
Konrad `ktoso` Malawski
9162d40cff
+task Implement Task.currentPriority
...
cleanups
2020-12-17 06:05:13 +09:00
Doug Gregor
35acd40b1e
+concurrency task groups initial work in progress
2020-12-17 06:05:13 +09:00
Konrad `ktoso` Malawski
49c6ae3da5
[Concurrency] Nurseries are now Task.Groups
2020-11-06 10:58:51 +09:00