-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BearRunner: Do result ordering in SectionExecutor
This removes the barrier from BearRunner and puts the responsibility of ordering the results right to the SectionExecutor. This has the following advantages: * Before nondeterministic wrong ordering could occur because the multiprocessing.Queue is not FIFO across processes. * Local bears can now run in parallel with global bears. Fixes #525 Co-Author: Mischa Krueger (Makman2)
- Loading branch information
Showing
5 changed files
with
143 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
from coalib.misc.Enum import enum | ||
|
||
CONTROL_ELEMENT = enum("LOCAL", "GLOBAL", "FINISHED") | ||
CONTROL_ELEMENT = enum("LOCAL", "GLOBAL", "LOCAL_FINISHED", "GLOBAL_FINISHED") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.