Commit 74b7eaf
authored
[V4] Cancellation 2.0 (#72)
* sketch
* spell
* await suspend
* in final suspend
* todo
* root declares what it is
* final suspend loop on cancel
* restore assert
* remove pre-suspend check
* owning parent
* return adr abstraction
* Revert "owning parent"
This reverts commit 81fb23b.
* extra template param in pkg
* op overloads
* check return is non null
* todo
* cancel propagation
* PERF: move propagation to await_transform
* PERF: move check
* Revert "PERF: move check"
This reverts commit 37f99b5.
* Revert "PERF: move propagation to await_transform"
This reverts commit b3ec305.
* split final suspend
tripple final suspend
* Revert "remove pre-suspend check"
This reverts commit a2af5da.
* Reapply "remove pre-suspend check"
This reverts commit 953975b.
* drop inline forcing
* revert owner split release
* unranched
* Revert "unranched"
This reverts commit c80f7d7.
* unique types in pkg
* comments
* better names
* rm comments
* full pre-release
* full fused release
This reverts commit fe90470.
* Revert "full fused release"
This reverts commit 764b6d8.
* double branch reduced
* Revert "double branch reduced"
This reverts commit 12bb9c5.
* fixup negation
* fixup todo
* refactor names of final suspend parts
* set cancellation in await suspend
* unconditional cancel test
* bad
* Revert "bad"
This reverts commit fcc1924.
* Revert "unconditional cancel test"
This reverts commit 20141ee.
* rm comment
* constify
* add todo
* add todo
* cancel test
TMP: cancel branch
tests
format
add joins
fuzz
more fuzz
format
tigher structure for agents
drop all ref to lints
fix conditional
* join cancel fix
* cancel fuzz
* fix conditional
* agents tweaks
* Revert "cancel fuzz"
This reverts commit 7de5615aa73c26cf33f2e064e7501718fb1f1104.
* todo
* first pass
* second pass
* touchup inculdes
* drop C from bench
* no fixed import
* all use full imports
* tidy up cmakelists
* alternative handling of cancel at join
* further refine cancel path
* tmp
* not all threads
* don't use internal
* complexity
* Revert "cancel test"
This reverts commit 30db539.
* structure for stop.cxx
* stop.cxx
* use stop.cxx
* better op names
* todo
* cancel tests
* root package propagates exception
* stop plumbed
* fix infinite loop
* access the stop source of the reciver
* todo
* allow early cancellation of root
* tmp cancel
* co_await scope()
* no export stop source
* explicitly default initialize
* basic cancel test
* busy versions
* tests
* TMP no bind
* clean ups
* cancel notes
* Revert "TMP no bind"
This reverts commit 3b9bd7a.
* move external to benchmark
* stop token
* use stop token
* split ops
* markdown (delete before merge)
* fix promise
* fix tests
* reciever changes
* todo
* use scoped join
* format
* rename 1
* rename 2
* rename 3
* rename 4
* rename 5
* rm dead file
* rename 6
* rename 7
* rename 8
* restore comment
* nicer name
* complexity notes
* more tests
* dynamic section
* rename
* gaurd max
* update comments
* drop branch
* drop template1 parent c0403af commit 74b7eaf
26 files changed
Lines changed: 1266 additions & 294 deletions
File tree
- benchmark
- external/uts
- include/uts
- rng
- src
- rng
- src/libfork_benchmark
- fib
- uts
- src/core
- test/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | 106 | | |
135 | 107 | | |
136 | 108 | | |
| |||
150 | 122 | | |
151 | 123 | | |
152 | 124 | | |
153 | | - | |
| 125 | + | |
154 | 126 | | |
155 | 127 | | |
156 | | - | |
157 | 128 | | |
158 | 129 | | |
159 | 130 | | |
| |||
189 | 160 | | |
190 | 161 | | |
191 | 162 | | |
192 | | - | |
193 | 163 | | |
194 | 164 | | |
195 | 165 | | |
| |||
230 | 200 | | |
231 | 201 | | |
232 | 202 | | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| 87 | + | |
87 | 88 | | |
88 | 89 | | |
89 | 90 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
31 | | - | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | 37 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
| 38 | + | |
43 | 39 | | |
44 | 40 | | |
45 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
File renamed without changes.
0 commit comments