##// END OF EJS Templates
check whether all engines are at HWM in a few places...
check whether all engines are at HWM in a few places avoids calling maybe_run on the entire queue when we know that no tasks can be run. This caused an expensive O(N) operation every time an engine just became not-full, which is every time a task finishes in the default case of HWM=1.

File last commit:

r3410:21647ae3
r10074:10694996
Show More
__init__.py
5 lines | 97 B | text/x-python | PythonLexer
try:
import pexpect
from pexpect import *
except ImportError:
from _pexpect import *