aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/py/pd/thread-1.pd
blob: 892c37ce8786ad0dc2c86bdbdff6f595adc3628e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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;