diff options
Diffstat (limited to 'externals/grill/py/scripts')
-rw-r--r-- | externals/grill/py/scripts/threads.py | 5 |
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) + |