Re: [PATCH v2 3/4] rust: sync: add `CondVar::wait_timeout`

From: Martin Rodriguez Reboredo
Date: Sat Dec 16 2023 - 11:43:13 EST


On 12/16/23 12:31, Alice Ryhl wrote:
Sleep on a condition variable with a timeout.

This is used by Rust Binder for process freezing. There, we want to
sleep until the freeze operation completes, but we want to be able to
abort the process freezing if it doesn't complete within some timeout.

Signed-off-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>
---
[...]

Reviewed-by: Martin Rodriguez Reboredo <yakoyoku@xxxxxxxxx>