Commit 09428ec
Merge #746
746: new scheduler from RFC 5 r=cuviper a=nikomatsakis
Implementation of the scheduler described in rayon-rs/rfcs#5 -- modulo the fact that the RFC is mildly out of date. There is a [walkthrough video available](https://youtu.be/HvmQsE5M4cY).
To Do List:
* [x] Fix the cargo lock
* [x] Address use of `AtomicU64`
* [x] Document the handling of rollover and wakeups and convince ourselves it's sound
* [ ] Adopt and document the [proposed scheme for the job event counter](#746 (comment))
* [ ] Review RFC and list out the places where it differs from the branch
Co-authored-by: Niko Matsakis <niko@alum.mit.edu>
Co-authored-by: Josh Stone <cuviper@gmail.com>11 files changed
Lines changed: 1713 additions & 1022 deletions
File tree
- ci
- rayon-core
- src
- join
- scope
- sleep
- rayon-demo/src/life
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
| 2 | + | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
| |||
131 | 130 | | |
132 | 131 | | |
133 | 132 | | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | 133 | | |
139 | 134 | | |
140 | 135 | | |
141 | | - | |
| 136 | + | |
142 | 137 | | |
143 | 138 | | |
144 | 139 | | |
| |||
160 | 155 | | |
161 | 156 | | |
162 | 157 | | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | 158 | | |
167 | 159 | | |
168 | 160 | | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | 161 | | |
173 | 162 | | |
174 | 163 | | |
175 | 164 | | |
176 | 165 | | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | 166 | | |
181 | 167 | | |
182 | 168 | | |
| |||
193 | 179 | | |
194 | 180 | | |
195 | 181 | | |
196 | | - | |
| 182 | + | |
197 | 183 | | |
198 | 184 | | |
199 | 185 | | |
| |||
0 commit comments