Update of /cvsroot/pure-data/externals/grill/py/pd In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7214/pd
Modified Files: thread-1.pd Log Message: support for Python threads, at last small fixes merged in 20041229-newdetach branch. renamed locking functions
Index: thread-1.pd =================================================================== RCS file: /cvsroot/pure-data/externals/grill/py/pd/thread-1.pd,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** thread-1.pd 21 Jun 2004 14:04:14 -0000 1.5 --- thread-1.pd 9 Jan 2005 04:59:30 -0000 1.6 *************** *** 1,3 **** ! #N canvas 135 178 644 401 12; #X msg 35 292 help; #X msg 34 317 doc; --- 1,3 ---- ! #N canvas 135 178 648 405 12; #X msg 35 292 help; #X msg 34 317 doc; *************** *** 6,10 **** #X text 17 66 This demonstrates threading. See the threads.py file. ; ! #X obj 137 243 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; #X msg 137 263 detach $1; --- 6,10 ---- #X text 17 66 This demonstrates threading. See the threads.py file. ; ! #X obj 137 243 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1; #X msg 137 263 detach $1; *************** *** 20,49 **** #X text 84 114 without threads; #X text 248 112 with threads; - #X text 249 129 non-blocking; #X text 175 362 watch that!; ! #X msg 411 154 stop; ! #X text 381 133 you can even stop it; #X obj 142 306 pyext threads ex1; #X text 90 128 - blocking!! -; #X obj 16 13 cnv 15 600 40 empty empty py/pyext 10 22 0 24 -260818 -1 0; ! #X text 213 32 http://www.parasitaere-kapazitaeten.net; ! #X text 213 16 Python script objects , (C)2003-2004 Thomas Grill; ! #X connect 0 0 20 0; ! #X connect 1 0 20 0; ! #X connect 2 0 20 0; #X connect 5 0 6 0; ! #X connect 6 0 20 0; #X connect 8 0 11 0; #X connect 9 0 10 0; ! #X connect 10 0 20 1; ! #X connect 10 1 20 2; #X connect 10 2 13 0; ! #X connect 11 0 20 1; ! #X connect 11 1 20 2; #X connect 11 2 12 0; #X connect 12 0 5 0; #X connect 13 0 5 0; ! #X connect 18 0 20 0; ! #X connect 20 0 3 0; ! #X connect 20 1 7 0; --- 20,60 ---- #X text 84 114 without threads; #X text 248 112 with threads; #X text 175 362 watch that!; ! #X msg 421 264 stop; ! #X text 391 243 you can even stop it; #X obj 142 306 pyext threads ex1; #X text 90 128 - blocking!! -; #X obj 16 13 cnv 15 600 40 empty empty py/pyext 10 22 0 24 -260818 -1 0; ! #X obj 407 150 bng 15 250 50 0 empty empty empty 0 -6 0 8 -258699 -1 ! -1; ! #X obj 407 177 t b b b; ! #X text 383 112 with threads; ! #X text 249 129 non-blocking; ! #X text 384 129 parallel; ! #X obj 445 205 2; ! #X text 213 32 http://grrrr.org/ext; ! #X text 213 16 Python script objects , (C)2003-2005 Thomas Grill; ! #X connect 0 0 19 0; ! #X connect 1 0 19 0; ! #X connect 2 0 19 0; #X connect 5 0 6 0; ! #X connect 6 0 19 0; #X connect 8 0 11 0; #X connect 9 0 10 0; ! #X connect 10 0 19 1; ! #X connect 10 1 19 2; #X connect 10 2 13 0; ! #X connect 11 0 19 1; ! #X connect 11 1 19 2; #X connect 11 2 12 0; #X connect 12 0 5 0; #X connect 13 0 5 0; ! #X connect 17 0 19 0; ! #X connect 19 0 3 0; ! #X connect 19 1 7 0; ! #X connect 22 0 23 0; ! #X connect 23 0 19 1; ! #X connect 23 1 19 2; ! #X connect 23 2 27 0; ! #X connect 27 0 5 0;