The `stat` calls are potentially blocking, so what do you do beyond blocking a thread? Ideally the current thread, to avoid a context switch to and from another core - especially since it will often not block. There's nothing else you can do without a horrible performance reduction in the common case. _______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
- Re: [rust-dev] C# async for Rust Daniel Micay
- Re: [rust-dev] C# async for Rust Bill Myers
- Re: [rust-dev] C# async for Rust Bill Myers
- Re: [rust-dev] C# async for Rust Daniel Micay
- Re: [rust-dev] C# async for Rust Daniel Micay
- Re: [rust-dev] C# async for Rust David Rajchenbach-Teller
- Re: [rust-dev] C# async for Rust Vadim
- Re: [rust-dev] C# async for Rust Daniel Micay
- Re: [rust-dev] C# async for... Kevin Ballard
- Re: [rust-dev] C# async... Daniel Micay
- Re: [rust-dev] C# async... Daniel Micay
- Re: [rust-dev] C# async for Rust Bardur Arantsson
- Re: [rust-dev] C# async for Rust Daniel Micay
- Re: [rust-dev] C# async for Rust Igor Bukanov
- Re: [rust-dev] C# async for Rust Daniel Micay
- Re: [rust-dev] C# async for... Igor Bukanov
