[][src]Function sunrise_kernel::i386::interrupt_service_routines::check_thread_killed

pub fn check_thread_killed()

Checks if our thread was killed, in which case unschedule ourselves.

Note

As this function will be the last that will be called by a thread before dying, caller must make sure all of its scope variables are ok to be leaked.