Commit 9f22d78
valentin petrov
SCHEDULE: fixes race on n_deps_satisfied (#618)
A task can depend on 2 other tasks (e.g. from another frag of of
schedule and prev task in a given frag). In that case when those 2
frags a progressed by mutliple threads ucc_dependency_handler may
be called concurrently which results in a race on n_deps_satisfied.
(cherry picked from commit b8c78d8)1 parent 97f8008 commit 9f22d78
2 files changed
+6
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
213 | 216 | | |
214 | | - | |
215 | 217 | | |
216 | | - | |
217 | | - | |
| 218 | + | |
| 219 | + | |
218 | 220 | | |
219 | 221 | | |
220 | 222 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
0 commit comments