From e854889b99b9e515dc69d237b1031b5705e83b60 Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Wed, 9 Mar 2005 04:58:11 +0000 Subject: fixes for detached operation and single-threaded version use lock count instead of message queuing to avoid py->py messaging deadlock support for buffer objects (preliminary) updated build system little restructuring fixes for single-threaded compilation added support for numarray svn path=/trunk/; revision=2610 --- externals/grill/py/scripts/threads.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (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 e1a91351..b0299101 100644 --- a/externals/grill/py/scripts/threads.py +++ b/externals/grill/py/scripts/threads.py @@ -39,7 +39,9 @@ class ex1(pyext._class): def bang_(self,n): for i in xrange(self.loops): # if _shouldexit is true, the thread ought to stop - if self._shouldexit: break + if self._shouldexit: + print "BREAK" + break self._outlet(n,i) sleep(self.sltime) -- cgit v1.2.1