From c2645dc4003b1391aba9b387a79a66cff1e63d3e Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Tue, 22 Oct 2002 23:16:30 +0000 Subject: This commit was generated by cvs2svn to compensate for changes in r189, which included commits to RCS files with non-trunk default branches. svn path=/trunk/; revision=190 --- externals/grill/py/pd/thread-1.pd | 47 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 externals/grill/py/pd/thread-1.pd (limited to 'externals/grill/py/pd/thread-1.pd') diff --git a/externals/grill/py/pd/thread-1.pd b/externals/grill/py/pd/thread-1.pd new file mode 100644 index 00000000..892c37ce --- /dev/null +++ b/externals/grill/py/pd/thread-1.pd @@ -0,0 +1,47 @@ +#N canvas 307 249 576 388 12; +#X msg 38 265 help; +#X msg 37 290 doc; +#X msg 73 291 doc+; +#X floatatom 145 323 5 0 0; +#X text 16 14 py/pyext - Python script objects \, (C)2002 Thomas Grill +; +#X text 14 44 This demonstrates threading. See the threads.py file. +; +#X obj 145 279 pyext threads ex1; +#X obj 140 216 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 +1; +#X msg 140 236 detach \$1; +#X floatatom 253 324 5 0 0; +#X obj 275 123 bng 15 250 50 0 empty empty empty 0 -6 0 8 -258699 -1 +-1; +#X obj 146 127 bng 15 250 50 0 empty empty empty 0 -6 0 8 -258699 -1 +-1; +#X obj 146 154 t b b b; +#X obj 275 150 t b b b; +#X obj 289 179 1; +#X obj 160 181 0; +#X text 87 87 without threads; +#X text 113 105 blocking; +#X text 251 85 with threads; +#X text 252 102 non-blocking; +#X text 178 345 watch that!; +#X msg 414 127 stop; +#X text 384 106 you can even stop it; +#X connect 0 0 6 0; +#X connect 1 0 6 0; +#X connect 2 0 6 0; +#X connect 6 0 3 0; +#X connect 6 1 9 0; +#X connect 7 0 8 0; +#X connect 8 0 6 0; +#X connect 10 0 13 0; +#X connect 11 0 12 0; +#X connect 12 0 6 1; +#X connect 12 1 6 2; +#X connect 12 2 15 0; +#X connect 13 0 6 1; +#X connect 13 1 6 2; +#X connect 13 2 14 0; +#X connect 14 0 7 0; +#X connect 15 0 7 0; +#X connect 21 0 6 0; -- cgit v1.2.1