diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-10-07 23:54:11 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-10-09 23:57:57 +0300 |
commit | 04b670de2859a8a8b0830779f9c9bda5d39662ab (patch) | |
tree | dd8f2605a03fb37f76ea7225535f433f54a82bb0 /tools/perf/scripts/python/task-analyzer.py | |
parent | 9205d24cf7714dd2b5fa09a22964dbcdeed6c430 (diff) | |
download | linux-04b670de2859a8a8b0830779f9c9bda5d39662ab.tar.xz |
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: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions