Remove job-control as an interface type, and replace job-control interfaces with generic interfaces supporting the close() method. (Both done() and kill() are absorbed into the function of close(); kill() is merely close(-ECANCELED).) Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
||
41 | 41 |
|
42 | 42 |
|
43 | 43 |
|
44 |
|
|
44 |
|
|
45 | 45 |
|
46 | 46 |
|
47 | 47 |
|
|
||
74 | 74 |
|
75 | 75 |
|
76 | 76 |
|
77 |
|
|
78 |
|
|
79 |
|
|
77 |
|
|
78 |
|
|
79 |
|
|
80 | 80 |
|
81 |
|
|
81 |
|
|
82 |
|
|
82 | 83 |
|
83 |
|
|
84 |
|
|
84 | 85 |
|
85 | 86 |
|
86 | 87 |
|
|
||
120 | 121 |
|
121 | 122 |
|
122 | 123 |
|
123 |
|
|
124 |
|
|
125 |
|
|
126 |
|
|
127 |
|
|
128 |
|
|
129 |
|
|
130 |
|
|
131 |
|
|
132 |
|
|
133 |
|
|
134 |
|
|
135 |
|
|
136 | 124 |
|
137 | 125 |
|
138 | 126 |
|
139 |
|
|
127 |
|
|
140 | 128 |
|
141 | 129 |
|
142 |
|
|
143 |
|
|
144 |
|
|
145 |
|
|
130 |
|
|
131 |
|
|
146 | 132 |
|
147 | 133 |
|
148 | 134 |
|
|
||
152 | 138 |
|
153 | 139 |
|
154 | 140 |
|
155 |
|
|
156 |
|
|
157 |
|
|
158 |
|
|
159 |
|
|
160 |
|
|
161 |
|
|
162 | 141 |
|
163 | 142 |
|
164 | 143 |
|
|
||
215 | 194 |
|
216 | 195 |
|
217 | 196 |
|
218 |
|
|
219 |
|
|
220 |
|
|
221 |
|
|
222 | 197 |
|
223 | 198 |
|
224 | 199 |
|
|
||
233 | 208 |
|
234 | 209 |
|
235 | 210 |
|
211 |
|
|
212 |
|
|
213 |
|
|
214 |
|
|
215 |
|
|
216 |
|
|
217 |
|
|
218 |
|
|
219 |
|
|
220 |
|
|
221 |
|
|
222 |
|
|
223 |
|
|
224 |
|
|
225 |
|
|
226 |
|
|
236 | 227 |
|
237 | 228 |
|
238 | 229 |
|
|
||
253 | 244 |
|
254 | 245 |
|
255 | 246 |
|
256 |
|
|
247 |
|
|
257 | 248 |
|
258 | 249 |
|
259 | 250 |
|
|
||
265 | 256 |
|
266 | 257 |
|
267 | 258 |
|
268 |
|
|
269 |
|
|
259 |
|
|
260 |
|
|
270 | 261 |
|
271 | 262 |
|
272 | 263 |
|
|
||
278 | 269 |
|
279 | 270 |
|
280 | 271 |
|
281 |
|
|
272 |
|
|
282 | 273 |
|
283 | 274 |
|
284 | 275 |
|
|
||
28 | 28 |
|
29 | 29 |
|
30 | 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 | 31 |
|
85 |
|
|
32 |
|
|
86 | 33 |
|
87 |
|
|
88 |
|
|
89 |
|
|
34 |
|
|
35 |
|
|
90 | 36 |
|
91 |
|
|
92 |
|
|
93 |
|
|
94 |
|
|
95 |
|
|
96 |
|
|
97 |
|
|
37 |
|
|
38 |
|
|
39 |
|
|
40 |
|
|
41 |
|
|
42 |
|
|
43 |
|
|
44 |
|
|
45 |
|
|
46 |
|
|
47 |
|
|
48 |
|
|
49 |
|
|
50 |
|
|
51 |
|
|
52 |
|
|
53 |
|
|
54 |
|
|
||
36 | 36 |
|
37 | 37 |
|
38 | 38 |
|
39 |
|
|
39 |
|
|
40 | 40 |
|
41 |
|
|
41 | 42 |
|
42 | 43 |
|
43 |
|
|
44 |
|
|
45 |
|
|
46 |
|
|
47 |
|
|
44 |
|
|
45 |
|
|
48 | 46 |
|
49 | 47 |
|
50 |
|
|
51 |
|
|
52 |
|
|
53 |
|
|
54 |
|
|
55 |
|
|
56 |
|
|
57 |
|
|
48 |
|
|
49 |
|
|
50 |
|
|
51 |
|
|
58 | 52 |
|
59 | 53 |
|
60 | 54 |
|
|
||
77 | 71 |
|
78 | 72 |
|
79 | 73 |
|
80 |
|
|
81 |
|
|
82 |
|
|
74 |
|
|
75 |
|
|
83 | 76 |
|
84 | 77 |
|
85 | 78 |
|
|
||
92 | 85 |
|
93 | 86 |
|
94 | 87 |
|
95 |
|
|
96 |
|
|
97 | 88 |
|
98 | 89 |
|
99 | 90 |
|
|
||
18 | 18 |
|
19 | 19 |
|
20 | 20 |
|
21 |
|
|
21 |
|
|
22 | 22 |
|
23 | 23 |
|
24 | 24 |
|
|
||
622 | 622 |
|
623 | 623 |
|
624 | 624 |
|
625 |
|
|
626 |
|
|
625 |
|
|
626 |
|
|
627 | 627 |
|
628 | 628 |
|
629 | 629 |
|
|
||
9 | 9 |
|
10 | 10 |
|
11 | 11 |
|
12 |
|
|
12 |
|
|
13 | 13 |
|
14 | 14 |
|
15 |
|
|
15 |
|
|
16 | 16 |
|
17 | 17 |
|
18 | 18 |
|
|
||
9 | 9 |
|
10 | 10 |
|
11 | 11 |
|
12 |
|
|
13 | 12 |
|
14 | 13 |
|
15 | 14 |
|
|
||
31 | 30 |
|
32 | 31 |
|
33 | 32 |
|
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 |
|
|
33 |
|
|
72 | 34 |
|
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 |
|
|
35 |
|
|
36 |
|
|
168 | 37 |
|
169 | 38 |
|
|
||
9 | 9 |
|
10 | 10 |
|
11 | 11 |
|
12 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
13 | 15 |
|
14 |
|
|
15 | 16 |
|
16 | 17 |
|
17 | 18 |
|
|
||
238 | 238 |
|
239 | 239 |
|
240 | 240 |
|
241 |
|
|
241 |
|
|
242 | 242 |
|
243 | 243 |
|
244 | 244 |
|
|
||
294 | 294 |
|
295 | 295 |
|
296 | 296 |
|
297 |
|
|
298 |
|
|
299 |
|
|
300 |
|
|
301 | 297 |
|
302 | 298 |
|
303 | 299 |
|
304 |
|
|
300 |
|
|
301 |
|
|
305 | 302 |
|
306 |
|
|
303 |
|
|
307 | 304 |
|
308 | 305 |
|
309 | 306 |
|
|
||
1366 | 1363 |
|
1367 | 1364 |
|
1368 | 1365 |
|
1369 |
|
|
1370 |
|
|
1371 |
|
|
1372 |
|
|
1373 |
|
|
1374 |
|
|
1375 |
|
|
1376 |
|
|
1377 |
|
|
1378 |
|
|
1379 |
|
|
1380 |
|
|
1381 |
|
|
1382 | 1366 |
|
1383 |
|
|
1384 |
|
|
1385 |
|
|
1386 |
|
|
1367 |
|
|
1368 |
|
|
1387 | 1369 |
|
1388 | 1370 |
|
1371 |
|
|
1372 |
|
|
1373 |
|
|
1374 |
|
|
1389 | 1375 |
|
1390 | 1376 |
|
1391 | 1377 |
|
|
||
1424 | 1410 |
|
1425 | 1411 |
|
1426 | 1412 |
|
1427 |
|
|
1413 |
|
|
1428 | 1414 |
|
1429 | 1415 |
|
1430 | 1416 |
|
|
||
1440 | 1426 |
|
1441 | 1427 |
|
1442 | 1428 |
|
1443 |
|
|
1429 |
|
|
1444 | 1430 |
|
1445 | 1431 |
|
1446 | 1432 |
|
|
||
1456 | 1442 |
|
1457 | 1443 |
|
1458 | 1444 |
|
1459 |
|
|
1445 |
|
|
1460 | 1446 |
|
1461 | 1447 |
|
1462 | 1448 |
|
|
||
1517 | 1503 |
|
1518 | 1504 |
|
1519 | 1505 |
|
1520 |
|
|
1506 |
|
|
1521 | 1507 |
|
1522 | 1508 |
|
1523 | 1509 |
|
|
||
1543 | 1529 |
|
1544 | 1530 |
|
1545 | 1531 |
|
1546 |
|
|
1532 |
|
|
1547 | 1533 |
|
1548 | 1534 |
|
1549 | 1535 |
|
|
||
1602 | 1588 |
|
1603 | 1589 |
|
1604 | 1590 |
|
1605 |
|
|
1591 |
|
|
1606 | 1592 |
|
1607 | 1593 |
|
1608 | 1594 |
|