Commit cce214e
authored
Implement
* Implement foreach parallel runspace reuse
* Change runspace dispose
* Refactor runspace reset check
* Fix race condition.
* Fix CodFactor issues
* Implement -UseNewRunspace parameter switch, add tests
* Fix Codacy errorForEach-Object -Parallel runspace reuse (PowerShell#12122)1 parent 7a8094f commit cce214e
3 files changed
Lines changed: 185 additions & 29 deletions
File tree
- src/System.Management.Automation/engine
- hostifaces
- test/powershell/Modules/Microsoft.PowerShell.Utility
Lines changed: 11 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
263 | 271 | | |
264 | 272 | | |
265 | 273 | | |
| |||
437 | 445 | | |
438 | 446 | | |
439 | 447 | | |
440 | | - | |
| 448 | + | |
| 449 | + | |
441 | 450 | | |
442 | 451 | | |
443 | 452 | | |
444 | 453 | | |
445 | 454 | | |
446 | 455 | | |
447 | 456 | | |
448 | | - | |
| 457 | + | |
449 | 458 | | |
450 | 459 | | |
451 | 460 | | |
| |||
0 commit comments