summaryrefslogtreecommitdiff
path: root/web/yacco2/diagrams/threading_exs.3
blob: 0b70f381289eb93c57956a02c74ac13f8f5eb1a5 (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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
%!PS
%%BoundingBox: -101 -1 370 269 
%%Creator: MetaPost
%%CreationDate: 2006.05.29:1510
%%Pages: 1
%*Font: cmtt8 4.78212 7.97011 30:ffc
%*Font: cmtt8 7.97011 7.97011 20:801000005540b1005fdfff8
%%EndProlog
%%Page: 1 1
 0 0.5 dtransform truncate idtransform setlinewidth pop [] 0 setdash
 1 setlinejoin 10 setmiterlimit
newpath 0 0 moveto
268.63358 0 lineto
268.63358 268.63358 lineto
0 268.63358 lineto
 closepath stroke
newpath 17.9089 17.9089 moveto
250.72467 17.9089 lineto
250.72467 250.72467 lineto
17.9089 250.72467 lineto
 closepath stroke
newpath 26.86336 26.86336 moveto
241.77022 26.86336 lineto
241.77022 241.77022 lineto
26.86336 241.77022 lineto
 closepath stroke
 1 setlinecap
newpath 0 0 moveto
17.9089 17.9089 lineto stroke
newpath 268.63358 0 moveto
250.72467 17.9089 lineto stroke
newpath 268.63358 268.63358 moveto
250.72467 250.72467 lineto stroke
newpath 0 268.63358 moveto
17.9089 250.72467 lineto stroke
newpath 17.9089 17.9089 moveto
17.9089 26.86336 lineto
26.86336 26.86336 lineto
26.86336 17.9089 lineto stroke
newpath 17.9089 250.72467 moveto
26.86336 250.72467 lineto
26.86336 241.77022 lineto
17.9089 241.77022 lineto stroke
newpath 250.72467 250.72467 moveto
250.72467 241.77022 lineto
241.77022 241.77022 lineto
241.77022 250.72467 lineto stroke
newpath 250.72467 17.9089 moveto
241.77022 17.9089 lineto
241.77022 26.86336 lineto
250.72467 26.86336 lineto stroke
30.07033 20.9089 moveto
(0) cmtt8 4.78212 fshow
30.07033 244.77022 moveto
(0) cmtt8 4.78212 fshow
21.11588 235.81577 moveto
(0) cmtt8 4.78212 fshow
244.97719 235.81577 moveto
(0) cmtt8 4.78212 fshow
39.02478 20.9089 moveto
(1) cmtt8 4.78212 fshow
39.02478 244.77022 moveto
(1) cmtt8 4.78212 fshow
21.11588 226.86131 moveto
(1) cmtt8 4.78212 fshow
244.97719 226.86131 moveto
(1) cmtt8 4.78212 fshow
47.97923 20.9089 moveto
(2) cmtt8 4.78212 fshow
47.97923 244.77022 moveto
(2) cmtt8 4.78212 fshow
21.11588 217.90686 moveto
(2) cmtt8 4.78212 fshow
244.97719 217.90686 moveto
(2) cmtt8 4.78212 fshow
56.93369 20.9089 moveto
(3) cmtt8 4.78212 fshow
56.93369 244.77022 moveto
(3) cmtt8 4.78212 fshow
21.11588 208.95241 moveto
(3) cmtt8 4.78212 fshow
244.97719 208.95241 moveto
(3) cmtt8 4.78212 fshow
65.88814 20.9089 moveto
(4) cmtt8 4.78212 fshow
65.88814 244.77022 moveto
(4) cmtt8 4.78212 fshow
21.11588 199.99796 moveto
(4) cmtt8 4.78212 fshow
244.97719 199.99796 moveto
(4) cmtt8 4.78212 fshow
74.84259 20.9089 moveto
(5) cmtt8 4.78212 fshow
74.84259 244.77022 moveto
(5) cmtt8 4.78212 fshow
21.11588 191.0435 moveto
(5) cmtt8 4.78212 fshow
244.97719 191.0435 moveto
(5) cmtt8 4.78212 fshow
83.79704 20.9089 moveto
(6) cmtt8 4.78212 fshow
83.79704 244.77022 moveto
(6) cmtt8 4.78212 fshow
21.11588 182.08905 moveto
(6) cmtt8 4.78212 fshow
244.97719 182.08905 moveto
(6) cmtt8 4.78212 fshow
92.7515 20.9089 moveto
(7) cmtt8 4.78212 fshow
92.7515 244.77022 moveto
(7) cmtt8 4.78212 fshow
21.11588 173.1346 moveto
(7) cmtt8 4.78212 fshow
244.97719 173.1346 moveto
(7) cmtt8 4.78212 fshow
101.70595 20.9089 moveto
(8) cmtt8 4.78212 fshow
101.70595 244.77022 moveto
(8) cmtt8 4.78212 fshow
21.11588 164.18015 moveto
(8) cmtt8 4.78212 fshow
244.97719 164.18015 moveto
(8) cmtt8 4.78212 fshow
110.6604 20.9089 moveto
(9) cmtt8 4.78212 fshow
110.6604 244.77022 moveto
(9) cmtt8 4.78212 fshow
21.11588 155.2257 moveto
(9) cmtt8 4.78212 fshow
244.97719 155.2257 moveto
(9) cmtt8 4.78212 fshow
118.34457 20.9089 moveto
(10) cmtt8 4.78212 fshow
118.34457 244.77022 moveto
(10) cmtt8 4.78212 fshow
19.8456 146.27124 moveto
(10) cmtt8 4.78212 fshow
243.70691 146.27124 moveto
(10) cmtt8 4.78212 fshow
127.29903 20.9089 moveto
(11) cmtt8 4.78212 fshow
127.29903 244.77022 moveto
(11) cmtt8 4.78212 fshow
19.8456 137.31679 moveto
(11) cmtt8 4.78212 fshow
243.70691 137.31679 moveto
(11) cmtt8 4.78212 fshow
136.25348 20.9089 moveto
(12) cmtt8 4.78212 fshow
136.25348 244.77022 moveto
(12) cmtt8 4.78212 fshow
19.8456 128.36234 moveto
(12) cmtt8 4.78212 fshow
243.70691 128.36234 moveto
(12) cmtt8 4.78212 fshow
145.20793 20.9089 moveto
(13) cmtt8 4.78212 fshow
145.20793 244.77022 moveto
(13) cmtt8 4.78212 fshow
19.8456 119.40788 moveto
(13) cmtt8 4.78212 fshow
243.70691 119.40788 moveto
(13) cmtt8 4.78212 fshow
154.16238 20.9089 moveto
(14) cmtt8 4.78212 fshow
154.16238 244.77022 moveto
(14) cmtt8 4.78212 fshow
19.8456 110.45343 moveto
(14) cmtt8 4.78212 fshow
243.70691 110.45343 moveto
(14) cmtt8 4.78212 fshow
163.11684 20.9089 moveto
(15) cmtt8 4.78212 fshow
163.11684 244.77022 moveto
(15) cmtt8 4.78212 fshow
19.8456 101.49898 moveto
(15) cmtt8 4.78212 fshow
243.70691 101.49898 moveto
(15) cmtt8 4.78212 fshow
172.07129 20.9089 moveto
(16) cmtt8 4.78212 fshow
172.07129 244.77022 moveto
(16) cmtt8 4.78212 fshow
19.8456 92.54453 moveto
(16) cmtt8 4.78212 fshow
243.70691 92.54453 moveto
(16) cmtt8 4.78212 fshow
181.02574 20.9089 moveto
(17) cmtt8 4.78212 fshow
181.02574 244.77022 moveto
(17) cmtt8 4.78212 fshow
19.8456 83.59007 moveto
(17) cmtt8 4.78212 fshow
243.70691 83.59007 moveto
(17) cmtt8 4.78212 fshow
189.9802 20.9089 moveto
(18) cmtt8 4.78212 fshow
189.9802 244.77022 moveto
(18) cmtt8 4.78212 fshow
19.8456 74.63562 moveto
(18) cmtt8 4.78212 fshow
243.70691 74.63562 moveto
(18) cmtt8 4.78212 fshow
198.93465 20.9089 moveto
(19) cmtt8 4.78212 fshow
198.93465 244.77022 moveto
(19) cmtt8 4.78212 fshow
19.8456 65.68117 moveto
(19) cmtt8 4.78212 fshow
243.70691 65.68117 moveto
(19) cmtt8 4.78212 fshow
207.8891 20.9089 moveto
(20) cmtt8 4.78212 fshow
207.8891 244.77022 moveto
(20) cmtt8 4.78212 fshow
19.8456 56.72672 moveto
(20) cmtt8 4.78212 fshow
243.70691 56.72672 moveto
(20) cmtt8 4.78212 fshow
216.84355 20.9089 moveto
(21) cmtt8 4.78212 fshow
216.84355 244.77022 moveto
(21) cmtt8 4.78212 fshow
19.8456 47.77226 moveto
(21) cmtt8 4.78212 fshow
243.70691 47.77226 moveto
(21) cmtt8 4.78212 fshow
225.798 20.9089 moveto
(22) cmtt8 4.78212 fshow
225.798 244.77022 moveto
(22) cmtt8 4.78212 fshow
19.8456 38.81781 moveto
(22) cmtt8 4.78212 fshow
243.70691 38.81781 moveto
(22) cmtt8 4.78212 fshow
234.75246 20.9089 moveto
(23) cmtt8 4.78212 fshow
234.75246 244.77022 moveto
(23) cmtt8 4.78212 fshow
19.8456 29.86336 moveto
(23) cmtt8 4.78212 fshow
243.70691 29.86336 moveto
(23) cmtt8 4.78212 fshow
newpath 268.63358 228.33855 moveto
250.72467 228.33855 lineto stroke
newpath 254.42027 229.86935 moveto
250.72467 228.33855 lineto
254.42027 226.80774 lineto
 closepath
gsave fill grestore stroke
newpath 264.93797 226.80774 moveto
268.63358 228.33855 lineto
264.93797 229.86935 lineto
 closepath
gsave fill grestore stroke
271.63358 226.7888 moveto
(Acquire g) cmtt8 7.97011 fshow
271.63358 217.39156 moveto
(launch threads) cmtt8 7.97011 fshow
newpath 268.63358 210.42964 moveto
250.72467 210.42964 lineto stroke
newpath 254.42027 211.96045 moveto
250.72467 210.42964 lineto
254.42027 208.89883 lineto
 closepath
gsave fill grestore stroke
newpath 264.93797 208.89883 moveto
268.63358 210.42964 lineto
264.93797 211.96045 lineto
 closepath
gsave fill grestore stroke
271.63358 208.8799 moveto
(Acquire x) cmtt8 7.97011 fshow
newpath 268.63358 201.47519 moveto
250.72467 201.47519 lineto stroke
newpath 254.42027 203.006 moveto
250.72467 201.47519 lineto
254.42027 199.94438 lineto
 closepath
gsave fill grestore stroke
271.63358 199.48265 moveto
(Create A) cmtt8 7.97011 fshow
newpath 17.9089 192.52074 moveto
0 192.52074 lineto stroke
newpath 3.6956 194.05154 moveto
0 192.52074 lineto
3.6956 190.98993 lineto
 closepath
gsave fill grestore stroke
-41.10759 190.08542 moveto
(Activated) cmtt8 7.97011 fshow
newpath 17.9089 183.56628 moveto
0 183.56628 lineto stroke
newpath 3.6956 185.09709 moveto
0 183.56628 lineto
3.6956 182.03548 lineto
 closepath
gsave fill grestore stroke
newpath 14.2133 182.03548 moveto
17.9089 183.56628 lineto
14.2133 185.09709 lineto
 closepath
gsave fill grestore stroke
-41.10759 182.01653 moveto
(Acquire a) cmtt8 7.97011 fshow
newpath 0 174.61183 moveto
17.9089 174.61183 lineto stroke
newpath 14.2133 173.08102 moveto
17.9089 174.61183 lineto
14.2133 176.14264 lineto
 closepath
gsave fill grestore stroke
-41.10759 173.06207 moveto
(Acquire x) cmtt8 7.97011 fshow
newpath 250.72467 165.65738 moveto
268.63358 165.65738 lineto stroke
newpath 264.93797 164.12657 moveto
268.63358 165.65738 lineto
264.93797 167.18819 lineto
 closepath
gsave fill grestore stroke
271.63358 164.10764 moveto
(Wokeup) cmtt8 7.97011 fshow
newpath 268.63358 156.70293 moveto
250.72467 156.70293 lineto stroke
newpath 254.42027 158.23373 moveto
250.72467 156.70293 lineto
254.42027 155.17212 lineto
 closepath
gsave fill grestore stroke
271.63358 154.71039 moveto
(Release x) cmtt8 7.97011 fshow
newpath 17.9089 147.74847 moveto
0 147.74847 lineto stroke
newpath 3.6956 149.27928 moveto
0 147.74847 lineto
3.6956 146.21767 lineto
 closepath
gsave fill grestore stroke
-58.0443 146.19872 moveto
(Wokeup with x) cmtt8 7.97011 fshow
newpath 17.9089 138.79402 moveto
0 138.79402 lineto stroke
newpath 3.6956 140.32483 moveto
0 138.79402 lineto
3.6956 137.26321 lineto
 closepath
gsave fill grestore stroke
-87.68353 136.80148 moveto
(Set idle work status) cmtt8 7.97011 fshow
newpath 0 129.83957 moveto
17.9089 129.83957 lineto stroke
newpath 14.2133 128.30876 moveto
17.9089 129.83957 lineto
14.2133 131.37038 lineto
 closepath
gsave fill grestore stroke
-41.10759 127.84703 moveto
(Release x) cmtt8 7.97011 fshow
newpath 250.72467 120.88512 moveto
268.63358 120.88512 lineto stroke
newpath 264.93797 119.35431 moveto
268.63358 120.88512 lineto
264.93797 122.41592 lineto
 closepath
gsave fill grestore stroke
271.63358 119.33537 moveto
(Wokeup) cmtt8 7.97011 fshow
newpath 268.63358 111.93066 moveto
250.72467 111.93066 lineto stroke
newpath 254.42027 113.46147 moveto
250.72467 111.93066 lineto
254.42027 110.39986 lineto
 closepath
gsave fill grestore stroke
271.63358 110.38092 moveto
(Wait on event+release g) cmtt8 7.97011 fshow
newpath 17.9089 102.97621 moveto
0 102.97621 lineto stroke
newpath 3.6956 104.50702 moveto
0 102.97621 lineto
3.6956 101.4454 lineto
 closepath
gsave fill grestore stroke
-58.0443 101.42645 moveto
(Wokeup with g) cmtt8 7.97011 fshow
-49.57594 92.02922 moveto
(Set thd cnt) cmtt8 7.97011 fshow
newpath 17.9089 85.0673 moveto
0 85.0673 lineto stroke
newpath 3.6956 86.59811 moveto
0 85.0673 lineto
3.6956 83.5365 lineto
 closepath
gsave fill grestore stroke
newpath 14.2133 83.5365 moveto
17.9089 85.0673 lineto
14.2133 86.59811 lineto
 closepath
gsave fill grestore stroke
-87.68353 83.51755 moveto
(Send G wakeup signal) cmtt8 7.97011 fshow
newpath 0 76.11285 moveto
17.9089 76.11285 lineto stroke
newpath 14.2133 74.58205 moveto
17.9089 76.11285 lineto
14.2133 77.64366 lineto
 closepath
gsave fill grestore stroke
-41.10759 74.5631 moveto
(Release g) cmtt8 7.97011 fshow
newpath 250.72467 67.1584 moveto
268.63358 67.1584 lineto stroke
newpath 264.93797 65.6276 moveto
268.63358 67.1584 lineto
264.93797 68.68921 lineto
 closepath
gsave fill grestore stroke
271.63358 65.60866 moveto
(Wokeup from signal) cmtt8 7.97011 fshow
-96.15189 65.60864 moveto
(Wait for wakeup signal) cmtt8 7.97011 fshow
271.63358 56.21141 moveto
(Process returned data) cmtt8 7.97011 fshow
271.63358 47.25696 moveto
(Run until a call) cmtt8 7.97011 fshow
271.63358 38.3025 moveto
(to Inner) cmtt8 7.97011 fshow
-70.74683 38.74529 moveto
(Eventual wake up) cmtt8 7.97011 fshow
-100.38606 29.34805 moveto
(Wait on event+release a) cmtt8 7.97011 fshow
showpage
%%EOF