From 4651f8a117cd663ddd77355055b0580cce636da3 Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Mon, 10 Jan 2005 05:00:56 +0000 Subject: closed multi-interpreter branch (no chance to have several interpreters in the same thread!) other thread-related cleanups py: added ability to choose function from message tag enabled int-tags for pyext class methods svn path=/trunk/; revision=2487 --- externals/grill/py/scripts/simple.py | 3 +++ externals/grill/py/scripts/threads.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'externals/grill/py/scripts') diff --git a/externals/grill/py/scripts/simple.py b/externals/grill/py/scripts/simple.py index f4a90398..b178bf35 100644 --- a/externals/grill/py/scripts/simple.py +++ b/externals/grill/py/scripts/simple.py @@ -83,6 +83,9 @@ class ex1(pyext._class): def bang_1(self): print "Bang into first inlet" + def int_1(self,f): + print "Integer",f,"into first inlet" + def float_1(self,f): print "Float",f,"into first inlet" diff --git a/externals/grill/py/scripts/threads.py b/externals/grill/py/scripts/threads.py index 7ab31a80..e1a91351 100644 --- a/externals/grill/py/scripts/threads.py +++ b/externals/grill/py/scripts/threads.py @@ -32,7 +32,7 @@ class ex1(pyext._class): _inlets=2 _outlets=2 - sltime=0.2 # sleep time + sltime=0.1 # sleep time loops=20 # loops to iterate # method for bang to any inlet -- cgit v1.2.1