tokio-rs / loom

Concurrency permutation testing tool for Rust.
MIT License
2.15k stars 112 forks source link

Implement `wait_while` for condvar #356

Open LucasSte opened 6 months ago

LucasSte commented 6 months ago

Problem I am using loom for concurrent tests, and wait_while was a feature I needed for the crate to be compatible with the project.

Changes I implemented the wait_while function and added a test for it.

LucasSte commented 6 months ago

I just found out that #167 also implements this. I'm happy to close this PR if that one is merged.