vhost-user-backend: fix docs for exit_event
The function used to return a tuple, but no longer does that.
Fixes: e8beb23 ("epoll: refine the way to manage event id")
Signed-off-by: Erik Schilling <erik.schilling@linaro.org>
This commit is contained in:
parent
f29830ab87
commit
bc63db7b57
1 changed files with 2 additions and 3 deletions
|
|
@ -93,9 +93,8 @@ where
|
|||
|
||||
/// Provide an optional exit EventFd for the specified worker thread.
|
||||
///
|
||||
/// If an (`EventFd`, `token`) pair is returned, the returned `EventFd` will be monitored for IO
|
||||
/// events by using epoll with the specified `token`. When the returned EventFd is written to,
|
||||
/// the worker thread will exit.
|
||||
/// The returned `EventFd` will be monitored for IO events. When the
|
||||
/// returned EventFd is written to, the worker thread will exit.
|
||||
fn exit_event(&self, _thread_index: usize) -> Option<EventFd> {
|
||||
None
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue