tokio-rs / loom

Concurrency permutation testing tool for Rust.
MIT License
2.08k stars 110 forks source link

Implement `wait_while` for condvar #356

Open LucasSte opened 3 months ago

LucasSte commented 3 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 3 months ago

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