diff options
author | Karel Kočí <cynerd@email.cz> | 2015-08-26 21:42:00 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2015-08-26 21:42:00 +0200 |
commit | c2c224ace7eace701006292b091afc1981f9c397 (patch) | |
tree | bfdd44be088be97111260a6f1319acb9d677da9f /scripts | |
parent | 115ee67b24afcea81fc9c583400b50b10718681a (diff) | |
download | linux-conf-perf-c2c224ace7eace701006292b091afc1981f9c397.tar.gz linux-conf-perf-c2c224ace7eace701006292b091afc1981f9c397.tar.bz2 linux-conf-perf-c2c224ace7eace701006292b091afc1981f9c397.zip |
Fix terminate variable for single thread mode
Latest changes for multithreading broke single thread mode.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/loop.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/loop.py b/scripts/loop.py index 29be5aa..f9df231 100755 --- a/scripts/loop.py +++ b/scripts/loop.py @@ -114,12 +114,11 @@ def sigterm_handler(_signo, _stack_frame): __preparethreadEvent__.set() # Main loop and single thread # +__terminate__ = False def loop(): utils.dirtycheck() initialize.all() if conf.multithread: - global __terminate__ - __terminate__ = False __preparethread__.start() __measurethread__.start() else: |