blob: 74ffa903fdf1e6d07c1c3973c93545667139f6c8 (
plain) (
tree)
|
|
use std::time;
use std::process;
use std::thread::sleep;
fn main() {
let delay = time::Duration::from_secs(1);
let pid = process::id();
println!("{}", pid);
for i in 1..=60 {
sleep(delay);
println!(". {}", i);
}
}
|