aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/py/scripts
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2002-11-26 22:35:57 +0000
committerThomas Grill <xovo@users.sourceforge.net>2002-11-26 22:35:57 +0000
commit7017ea71b842451548451125d10acd5c27086e3b (patch)
treeee55af9f9f4f9b2b1c060545763e553a85e6963d /externals/grill/py/scripts
parentae094b15eab3b833bf69a8c26492dc022d09e5fb (diff)
""
svn path=/trunk/; revision=262
Diffstat (limited to 'externals/grill/py/scripts')
-rw-r--r--externals/grill/py/scripts/threads.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/externals/grill/py/scripts/threads.py b/externals/grill/py/scripts/threads.py
index e8486699..f7740bd3 100644
--- a/externals/grill/py/scripts/threads.py
+++ b/externals/grill/py/scripts/threads.py
@@ -29,11 +29,11 @@ class ex1(pyext._class):
_outlets=2
sltime=0.2 # sleep time
- loops=30 # loops to iterate
+ loops=20 # loops to iterate
# method for bang to any inlet
def bang_(self,n):
- for i in range(30):
+ for i in range(self.loops):
# if _shouldexit is true, the thread ought to stop
if self._shouldexit: break
@@ -41,3 +41,4 @@ class ex1(pyext._class):
sleep(self.sltime)
+