mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-12-25 04:14:06 +00:00
sys_util: add debug to eventfd
BUG=None TEST=build Change-Id: I37a19b56876a5b24caca413d33fde8330b12b187 Reviewed-on: https://chromium-review.googlesource.com/1327514 Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> Tested-by: Jingkui Wang <jkwang@google.com> Reviewed-by: David Tolnay <dtolnay@chromium.org> Reviewed-by: Zach Reizner <zachr@chromium.org>
This commit is contained in:
parent
e2fd7a259d
commit
3cba30dec7
1 changed files with 1 additions and 0 deletions
|
@ -14,6 +14,7 @@ use {errno_result, Result};
|
|||
///
|
||||
/// An eventfd is useful because it is sendable across processes and can be used for signaling in
|
||||
/// and out of the KVM API. They can also be polled like any other file descriptor.
|
||||
#[derive(Debug)]
|
||||
pub struct EventFd {
|
||||
eventfd: File,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue