aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2015-04-26 10:59:35 +0200
committerKarel Kočí <cynerd@email.cz>2015-04-26 10:59:35 +0200
commit93fd034574ae0ed8e3af4501b1fb54a3a8b3db40 (patch)
tree3db0ee722174c56558a870533b078bba6e46dd89 /scripts
parent295254195ce053b027c02042db928e89fa078593 (diff)
downloadlinux-conf-perf-93fd034574ae0ed8e3af4501b1fb54a3a8b3db40.tar.gz
linux-conf-perf-93fd034574ae0ed8e3af4501b1fb54a3a8b3db40.tar.bz2
linux-conf-perf-93fd034574ae0ed8e3af4501b1fb54a3a8b3db40.zip
Rename script main_loop to loop
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/loop.py (renamed from scripts/main_loop.py)4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/main_loop.py b/scripts/loop.py
index 264ea31..1911fc2 100755
--- a/scripts/main_loop.py
+++ b/scripts/loop.py
@@ -75,7 +75,7 @@ def loop_term():
def sigterm_handler(_signo, _stack_frame):
loop_term()
-def main_loop():
+def loop():
global thr
thr = mainThread("thred")
thr.start()
@@ -88,4 +88,4 @@ def main_loop():
if __name__ == '__main__':
signal.signal(signal.SIGTERM, sigterm_handler)
- main_loop()
+ loop()