crosvm/cros_async/src
Daniel Verkamp 28d0f67858 base: event: add Event::reset() API
This allows resetting an Event without waiting on it. Windows already
had this functionality in its EventExt, and we can provide an equivalent
implementation for eventfd on Linux, so promote this function to the
cross-platform Event type.

BUG=b:231344063
TEST=tools/presubmit --all

Change-Id: I6dba3cb2e0b2d702e8a3f0dacf5c25c1dd044a13
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3966480
Reviewed-by: Frederick Mayle <fmayle@google.com>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
Reviewed-by: Noah Gold <nkgold@google.com>
2022-10-20 21:04:14 +00:00
..
blocking Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
sync Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
sys base: event: add Event::reset() API 2022-10-20 21:04:14 +00:00
async_types.rs Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
audio_streams_async.rs Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
blocking.rs Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
complete.rs Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
event.rs devices: stop resetting ReadNotifiers in vhost user 2022-10-19 17:13:15 +00:00
io_ext.rs base: cross platform Event API 2022-10-19 20:17:42 +00:00
lib.rs Reland "cros_async: add a command-line option to switch Executor 2022-10-03 09:31:24 +00:00
mem.rs Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
queue.rs Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
select.rs Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
sync.rs Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
sys.rs Reland "cros_async: add a command-line option to switch Executor 2022-10-03 09:31:24 +00:00
timer.rs base: timer: handle 0 interval explicitly 2022-09-30 16:50:22 +00:00
waker.rs Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00