-
Spawn 2 threads, one that continuously says
Helloand the other that sayWorld. -
Find out the number of physical and logical cores in your CPU using rust.
hint:try usingnum_cpuscrate.
Spawn 2 threads, one that continuously says Hello and the other that say World.
Find out the number of physical and logical cores in your CPU using rust.
hint: try using num_cpus crate.