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

Reply via email to