dont err() but warn() if no thread exists in native_isr_entry
This commit is contained in:
parent
796b656e31
commit
176f379c7a
@ -305,7 +305,10 @@ void native_isr_entry(int sig, siginfo_t *info, void *context)
|
|||||||
errx(EXIT_FAILURE, "native_isr_entry: context is null - unhandled");
|
errx(EXIT_FAILURE, "native_isr_entry: context is null - unhandled");
|
||||||
}
|
}
|
||||||
if (active_thread == NULL) {
|
if (active_thread == NULL) {
|
||||||
errx(EXIT_FAILURE, "native_isr_entry: active_thread is null - unhandled");
|
_native_in_isr++;
|
||||||
|
warnx("native_isr_entry: active_thread is null - unhandled");
|
||||||
|
_native_in_isr--;
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* XXX: Workaround safety check - whenever this happens it really
|
/* XXX: Workaround safety check - whenever this happens it really
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user