MCPcopy Create free account
hub / github.com/chyyuu/os_kernel_lab / check_signals_of_current

Function check_signals_of_current

os/src/task/mod.rs:148–152  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

146}
147
148pub fn check_signals_of_current() -> Option<(i32, &'static str)> {
149 let process = current_process();
150 let process_inner = process.inner_exclusive_access();
151 process_inner.signals.check_error()
152}
153
154pub fn current_add_signal(signal: SignalFlags) {
155 let process = current_process();

Callers 1

trap_handlerFunction · 0.85

Calls 3

current_processFunction · 0.85
check_errorMethod · 0.80

Tested by

no test coverage detected