//= { //= "output": { //= "2": [ //= "", //= true //= ], //= "1": [ //= "", //= true //= ] //= }, //= "children": [ //= { //= "output": { //= "2": [ //= "", //= true //= ], //= "1": [ //= "", //= true //= ] //= }, //= "children": [], //= "exit": "Success" //= }, //= { //= "output": { //= "2": [ //= "", //= true //= ], //= "1": [ //= "", //= true //= ] //= }, //= "children": [], //= "exit": "Success" //= } //= ], //= "exit": "Success" //= } use constellation::*; fn main() { init(Resources { mem: 20 * Mem::MIB, ..Resources::default() }); for _ in 0..2 { let _pid = spawn( Resources { mem: 20 * Mem::MIB, ..Resources::default() }, FnOnce!(|_parent| ()), ) .block() .expect("spawn() failed to allocate process"); } }