1
2
3
4
5
6
7
8
9
10
11
12 dcl BFT_QUEUE_VERSION_1 char (8) internal static options (constant)
13 init ("VERSION1");
14 dcl BFT_QUEUE_PRIORITIES fixed bin internal static options (constant)
15 init (4);
16 dcl BFT_QUEUE_WAIT_TIME fixed bin internal static options (constant)
17 init (30);
18
19
20
21 dcl queue_ptr ptr;
22 dcl 01 queue based (queue_ptr) aligned,
23 02 header like queue_header,
24 02 array (queue.header.segment_size) like queue_element;
25
26
27
28 dcl 01 queue_header based,
29 02 version char (8),
30 02 lockword bit (36) aligned,
31 02 store_queue (4),
32 03 last fixed bin (35),
33 03 first fixed bin (35),
34 03 flags,
35 04 pad bit (36) unal,
36 02 fetch_queue (4),
37 03 last fixed bin (35),
38 03 first fixed bin (35),
39 03 flags,
40 04 pad bit (36) unal,
41 02 storing like queue_element,
42 02 store_file_pos fixed bin (21),
43 02 fetching like queue_element,
44 02 fetch_file_pos fixed bin (21),
45 02 free_list fixed bin (35),
46 02 segment_size fixed bin (35);
47
48
49
50 dcl 01 queue_element based,
51 02 next fixed bin (35),
52 02 multics_path char (168),
53 02 pc_path char (66),
54 02 time_id fixed bin (71),
55 02 flags like bft_queue_flags,
56 02 mbz bit (18);
57
58
59
60 %include bft;
61
62