about summary refs log tree commit diff stats
path: root/arc/.traces/fork-then-wait
blob: 27348447d0c3de201a6ef748c2e8ee7aa4f1a153 (plain) (blame)
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
c{0: 0 (((loop))) -- ((open 0))
c{1: 0 X (((loop))) => (((jump)) ((-1 offset)))
c{0: 0 (((1 integer) (routine-id)) <- ((fork)) ((f1 fn)) ((nil literal) (globals)) ((30 literal) (limit))) -- nil
c{0: 1 (((sleep)) ((until-routine-done literal)) ((1 integer) (routine-id))) -- nil
c{0: 2 (((2 integer)) <- ((copy)) ((34 literal))) -- nil
c{1: 0 ✓ (((1 integer) (routine-id)) <- ((fork)) ((f1 fn)) ((nil literal) (globals)) ((30 literal) (limit)))
c{1: 1 ✓ (((sleep)) ((until-routine-done literal)) ((1 integer) (routine-id)))
c{1: 2 ✓ (((2 integer)) <- ((copy)) ((34 literal)))
cn0: convert-names in f1
cn0: (((jump)) ((-1 offset))) nil nil
cn0: checking arg ((-1 offset))
cn0: convert-names in main
cn0: (((1 integer) (routine-id)) <- ((fork)) ((f1 fn)) ((nil literal) (globals)) ((30 literal) (limit))) nil nil
cn0: checking arg ((f1 fn))
cn0: checking arg ((nil literal) (globals))
cn0: checking arg ((30 literal) (limit))
cn0: checking oarg ((1 integer) (routine-id))
maybe-add: ((1 integer) (routine-id))
cn0: (((sleep)) ((until-routine-done literal)) ((1 integer) (routine-id))) nil nil
cn0: checking arg ((until-routine-done literal))
cn0: checking arg ((1 integer) (routine-id))
maybe-add: ((1 integer) (routine-id))
cn0: (((2 integer)) <- ((copy)) ((34 literal))) nil nil
cn0: checking arg ((34 literal))
cn0: checking oarg ((2 integer))
maybe-add: ((2 integer))
cn1: (((jump)) ((-1 offset)))
cn1: (((1 integer) (routine-id)) <- ((fork)) ((f1 fn)) ((nil literal) (globals)) ((30 literal) (limit)))
cn1: (((sleep)) ((until-routine-done literal)) ((1 integer) (routine-id)))
cn1: (((2 integer)) <- ((copy)) ((34 literal)))
schedule: main
run: main 0: (((1 integer) (routine-id)) <- ((fork)) ((f1 fn)) ((nil literal) (globals)) ((30 literal) (limit)))
run: main 0: 1 => ((1 integer) (routine-id))
mem: ((1 integer) (routine-id)): 1 <= 1
run: main 1: (((sleep)) ((until-routine-done literal)) ((1 integer) (routine-id)))
mem: ((1 integer) (routine-id)) => 1
schedule: pushing main to sleep queue
schedule: f1
run: f1 0: (((jump)) ((-1 offset)))
run: f1 0: (((jump)) ((-1 offset)))
run: f1 0: (((jump)) ((-1 offset)))
run: f1 0: (((jump)) ((-1 offset)))
run: f1 0: (((jump)) ((-1 offset)))
schedule: scheduling f1 for further processing (limit)
schedule: f1
run: f1 0: (((jump)) ((-1 offset)))
run: f1 0: (((jump)) ((-1 offset)))
run: f1 0: (((jump)) ((-1 offset)))
run: f1 0: (((jump)) ((-1 offset)))
run: f1 0: (((jump)) ((-1 offset)))
schedule: scheduling f1 for further processing (limit)
schedule: f1
run: f1 0: (((jump)) ((-1 offset)))
run: f1 0: (((jump)) ((-1 offset)))
run: f1 0: (((jump)) ((-1 offset)))
run: f1 0: (((jump)) ((-1 offset)))
run: f1 0: (((jump)) ((-1 offset)))
schedule: scheduling f1 for further processing (limit)
schedule: f1
run: f1 0: (((jump)) ((-1 offset)))
run: f1 0: (((jump)) ((-1 offset)))
run: f1 0: (((jump)) ((-1 offset)))
run: f1 0: (((jump)) ((-1 offset)))
run: f1 0: (((jump)) ((-1 offset)))
schedule: scheduling f1 for further processing (limit)
schedule: f1
run: f1 0: (((jump)) ((-1 offset)))
run: f1 0: (((jump)) ((-1 offset)))
run: f1 0: (((jump)) ((-1 offset)))
run: f1 0: (((jump)) ((-1 offset)))
run: f1 0: (((jump)) ((-1 offset)))
schedule: scheduling f1 for further processing (limit)
schedule: f1
run: f1 0: (((jump)) ((-1 offset)))
run: f1 0: (((jump)) ((-1 offset)))
run: f1 0: (((jump)) ((-1 offset)))
run: f1 0: (((jump)) ((-1 offset)))
run: f1 0: (((jump)) ((-1 offset)))
schedule: scheduling f1 for further processing (limit)
schedule: routine ran out of time
schedule: waking up main
schedule: main
run: main 2: (((2 integer)) <- ((copy)) ((34 literal)))
run: main 2: 34 => ((2 integer))
mem: ((2 integer)): 2 <= 34
schedule: done with routine nil