Commit 04b670de authored by Kent Overstreet's avatar Kent Overstreet
Browse files

closures: Add closure_wait_event_timeout()



Add a closure version of wait_event_timeout(), with the same semantics.

The closure version is useful because unlike wait_event(), it allows
blocking code to run in the conditional expression.

Cc: Coly Li <colyli@suse.de>
Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 9205d24c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment