SIGN IN SIGN UP
rust-lang / rust UNCLAIMED

Empowering everyone to build reliable and efficient software.

0 0 65 Rust

Rollup merge of #140210 - Berrysoft:cygwin-timedwait, r=joboet

Work around cygwin issue on condvar timeout

This workaround *just works*... Actually I don't quite understand why does it work in such way. With a simple test on Cygwin, it seems that the maximum value of `tv_sec` could be 12899331056917, while the maximum value of `tv_nsec` should be a value floating around 464600000. A larger `timespec` could block the syscall forever.

r? `@joboet`
M
Matthias Krüger committed
11fbbc54ba443f0edafdd1c34de7c069f7a325bf
Committed by GitHub <noreply@github.com> on 4/24/2025, 10:54:00 PM