36 lines
681 B
Plaintext
36 lines
681 B
Plaintext
|
|
main: {
|
||
|
|
multithreading: {
|
||
|
|
threads: [
|
||
|
|
{
|
||
|
|
instruction: {
|
||
|
|
instruction_set: {
|
||
|
|
instructions: [
|
||
|
|
{
|
||
|
|
open_file: {
|
||
|
|
path_name: "newfile2.txt",
|
||
|
|
output_fd: "test_file"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
read_file: {
|
||
|
|
input_fd: "test_file"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
close_file: {
|
||
|
|
input_fd: "test_file"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|
||
|
|
},
|
||
|
|
spawn: $PARAMETER_1$
|
||
|
|
}
|
||
|
|
]
|
||
|
|
},
|
||
|
|
repeat: $PARAMETER_2$
|
||
|
|
},
|
||
|
|
global {
|
||
|
|
absolute_path: "";
|
||
|
|
}
|