struct TimerWorker {
id: usize,
apic: Arc<Mutex<Apic>>,
vcpus: Arc<Mutex<Vec<Option<Arc<dyn VcpuX86_64>>>>>,
descriptor: Descriptor,
waiter: Arc<Waiter>,
}Expand description
Worker thread for polling timer events and sending them to an APIC.
Fields§
§id: usize§apic: Arc<Mutex<Apic>>§vcpus: Arc<Mutex<Vec<Option<Arc<dyn VcpuX86_64>>>>>§descriptor: Descriptor§waiter: Arc<Waiter>Implementations§
Source§impl TimerWorker
impl TimerWorker
Auto Trait Implementations§
impl Freeze for TimerWorker
impl RefUnwindSafe for TimerWorker
impl Send for TimerWorker
impl Sync for TimerWorker
impl Unpin for TimerWorker
impl UnwindSafe for TimerWorker
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more