patch_seq_signal_received

Function patch_seq_signal_received 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn patch_seq_signal_received( stack: Stack, ) -> Stack
Expand description

Check if a signal was received and clear the flag

Stack effect: ( signal-num – received? )

Returns true if the signal was received since the last check, false otherwise. This atomically clears the flag, so the signal must be received again to return true.

§Safety

Stack must have an Int (signal number) on top