mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
vm-virtio: Rename epoll_thread to epoll_threads
Now that we unified epoll_thread to potentially be a vector of threads, it makes sense to make it a plural field. Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
committed by
Sebastien Boeuf
parent
f648f2856d
commit
c06a827cbb
@@ -136,9 +136,9 @@ macro_rules! virtio_pausable_inner {
|
||||
VirtioDeviceType::from(self.device_type())
|
||||
);
|
||||
self.paused.store(false, Ordering::SeqCst);
|
||||
if let Some(epoll_thread) = &self.epoll_thread {
|
||||
for i in 0..epoll_thread.len() {
|
||||
epoll_thread[i].thread().unpark();
|
||||
if let Some(epoll_threads) = &self.epoll_threads {
|
||||
for i in 0..epoll_threads.len() {
|
||||
epoll_threads[i].thread().unpark();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -168,9 +168,9 @@ macro_rules! virtio_pausable_inner {
|
||||
);
|
||||
self.paused.store(false, Ordering::SeqCst);
|
||||
|
||||
if let Some(epoll_thread) = &self.epoll_thread {
|
||||
for i in 0..epoll_thread.len() {
|
||||
epoll_thread[i].thread().unpark();
|
||||
if let Some(epoll_threads) = &self.epoll_threads {
|
||||
for i in 0..epoll_threads.len() {
|
||||
epoll_threads[i].thread().unpark();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user