Commit eabda36
committed
Notify all workers when adjusting thread count
If we decreased the number of workers, then it may be possible
that the remaining workers are parked and need to drain tasks.1 parent cff34f3 commit eabda36
1 file changed
Lines changed: 4 additions & 0 deletions
File tree
- src/main/java/ca/spottedleaf/concurrentutil/executor/thread
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
202 | 206 | | |
203 | 207 | | |
204 | 208 | | |
| |||
0 commit comments