pub struct GuestThreadStart {
pub entry: u64,
pub sp: u64,
pub pthread: u64,
pub port: u64,
pub func: u64,
pub func_arg: u64,
}Expand description
Arguments for a newly created guest worker.
Fields§
§entry: u64Registered threadstart trampoline VA.
sp: u64Guest stack pointer (16-byte aligned top of stack).
pthread: u64x0 — pthread structure VA.
port: u64x1 — Mach thread port (stubbed to 0).
func: u64x2 — user start routine VA.
func_arg: u64x3 — user argument.
Trait Implementations§
Source§impl Clone for GuestThreadStart
impl Clone for GuestThreadStart
impl Copy for GuestThreadStart
Auto Trait Implementations§
impl Freeze for GuestThreadStart
impl RefUnwindSafe for GuestThreadStart
impl Send for GuestThreadStart
impl Sync for GuestThreadStart
impl Unpin for GuestThreadStart
impl UnsafeUnpin for GuestThreadStart
impl UnwindSafe for GuestThreadStart
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