fn invoke_next_upcall() -> bool {
    let option_queue_entry =
        with_kernel_data(|option_kernel_data| option_kernel_data.unwrap().upcall_queue.pop_front());
    match option_queue_entry {
        None => false,
        Some(queue_entry) => {
            unsafe {
                queue_entry.upcall.invoke(queue_entry.args);
            }
            true
        }
    }
}
// Pops the next upcall off the kernel data's upcall queue and invokes it, or
// does nothing if the upcall queue was entry. The return value indicates
// whether an upcall was run. Panics if no kernel data is present.
Pops the next upcall off the kernel data's upcall queue and invokes it, or
does nothing if the upcall queue was entry. The return value indicates
whether an upcall was run. Panics if no kernel data is present.
Pops the next upcall off the kernel data ' s upcall queue and invokes it or does nothing if the upcall queue was entry . The return value indicates whether an upcall was run . Panics if no kernel data is present .
fn invoke_next_upcall() -> bool {
    let option_queue_entry =
        with_kernel_data(|option_kernel_data| option_kernel_data.unwrap().upcall_queue.pop_front());
    match option_queue_entry {
        None => false,
        Some(queue_entry) => {
            unsafe {
                queue_entry.upcall.invoke(queue_entry.args);
            }
            true
        }
    }
}
fn invoke_next_upcall ( ) -> bool { let option_queue_entry = with_kernel_data ( | option_kernel_data | option_kernel_data . unwrap ( ) . upcall_queue . pop_front ( ) ) ; match option_queue_entry { None => false , Some ( queue_entry ) => { unsafe { queue_entry . upcall . invoke ( queue_entry . args ) ; } true } } }
Pops the next upcall off the kernel data's upcall queue and invokes it, or
does nothing if the upcall queue was entry.
Pops the next upcall off the kernel data ' s upcall queue and invokes it or does nothing if the upcall queue was entry .