#[unsafe(no_mangle)]
pub unsafe extern "C" fn switch_context_simple(
from: *mut ThreadContext,
to: *const ThreadContext,
)
Expand description
Simple context switch (enhanced version with proper RFLAGS handling)
ยงSafety
Caller must ensure valid thread context pointers and proper synchronization.