aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/py/scripts
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2005-01-10 05:00:56 +0000
committerThomas Grill <xovo@users.sourceforge.net>2005-01-10 05:00:56 +0000
commit4651f8a117cd663ddd77355055b0580cce636da3 (patch)
tree155faf09847ac1a0c5d10f131053946ffcd0a8ab /externals/grill/py/scripts
parent97492d5628f603856df9a3dd2abd55d33918dc4f (diff)
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
Diffstat (limited to 'externals/grill/py/scripts')
-rw-r--r--externals/grill/py/scripts/simple.py3
-rw-r--r--externals/grill/py/scripts/threads.py2
2 files changed, 4 insertions, 1 deletions
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