1init: { 2 instruction_set: { 3 instructions: [ 4 { 5 open_file: { 6 path_name: "test.txt", 7 create: true, 8 output_fd: "test_file" 9 } 10 }, 11 { 12 resize_file: { 13 input_fd: "test_file", 14 size: 1048576 15 } 16 }, 17 { 18 write_file: { 19 input_fd: "test_file", 20 fsync: true 21 } 22 } 23 ] 24 } 25}, 26main: { 27 multithreading: { 28 threads: [ 29 { 30 instruction: { 31 read_file: { 32 input_fd: "test_file" 33 }, 34 repeat: 100 35 }, 36 spawn: $PARAMETER_1$ 37 } 38 ] 39 } 40}, 41clean_up: { 42 instruction_set: { 43 instructions: [ 44 { 45 close_file: { 46 input_fd: "test_file" 47 } 48 }, 49 { 50 delete_file: { 51 path_name: "test.txt" 52 } 53 } 54 ] 55 } 56}, 57global {} 58