Commit ce98532
authored
feat(l1,l2): name rayon threads for easier debugging (#5269)
**Motivation**
Rayon currently inherits the name of the thread that calls it first,
which creates
confusion when, for example, one tries to see which threads incur the
most contention.
**Description**
Initialize the global thread pool on init to ensure the Rayon workers
each have a
unique name.1 parent 4e239ae commit ce98532
3 files changed
+7
-0
lines changedSome 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 | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
52 | 57 | | |
53 | 58 | | |
54 | 59 | | |
| |||
0 commit comments