Skip to main content

set_signal_pending_current

Function set_signal_pending_current 

Source
pub fn set_signal_pending_current()
Expand description

Set the signal_pending flag for the current CPU.

Called by send_signal when a signal targets the task running on this CPU. The syscall dispatcher checks this flag to avoid the expensive scheduler lock when no signal is pending.