Hello, I'm using easy-smt in my project, which will call ContextBuilder::new().solver("z3", ["-smt2", "-in"]).build(); too many times and I found Resource temporarily unavailable (os error 35) occur. For example
use easy_smt::ContextBuilder;
fn main() {
let mut i = 0;
loop {
let ctx = ContextBuilder::new().solver("z3", ["-smt2", "-in"]).build();
match ctx {
Ok(_) => {
i += 1;
println!("Success: {}", i);
}
Err(e) => {
eprintln!("Failed to create context: {}", e);
}
}
}
}
Hello, I'm using easy-smt in my project, which will call
ContextBuilder::new().solver("z3", ["-smt2", "-in"]).build();
too many times and I found Resource temporarily unavailable (os error 35) occur. For exampleIt returns error when i is 1000+/2000+. I think it might be related to process creatation.
Any help or suggestion would be appreciated.