cbsk_run is async pool tool
the main functions include async pool and signal::run
support the minimum version of Rust
1.80.0
signal::run example
Cargo.toml file :
= { = "2.1.2" }
= { = "2.1.2" }
main.rs file :
use Duration;
use ;
use JoinHandle;
async
running results :
E:\work\github\rust\cbsk_test>cargo run
Compiling cbsk_run v0.1.0 (E:\work\github\rust\cbsk\libs\cbsk_run)
Compiling cbsk_test v0.1.0 (E:\work\github\rust\cbsk_test)
Finished dev [unoptimized + debuginfo] target(s) in 4.21s
RunningE:\work\cache\rust\github\target\debug\cbsk_test.exe
hello world
hi!
hello world
hello world
hi!
hello world
hello world
hi!
hello world
hello world
hi!
hello world
hello world
hi!
hello world
hello world
hi!
hello world
hi!
hello world
hello world
hello world
hi!
hello worldE:\work\github\rust\cbsk_test>