From 7017ea71b842451548451125d10acd5c27086e3b Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Tue, 26 Nov 2002 22:35:57 +0000 Subject: "" svn path=/trunk/; revision=262 --- externals/grill/py/scripts/threads.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'externals/grill/py/scripts/threads.py') 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) + -- cgit v1.2.1