This function raises a signal to indicate a runtime anomaly.
This function calls the normal C signal mechanism or the default signal handler. See also _ttywrch() for more information.
You can replace the __raise() function by defining:
int __raise(int signal, int type)
This enables you to bypass the C signal mechanism and its data‑consuming signal handler vector, but otherwise gives essentially the same interface as:
void __default_signal_handler(int signal, int type);
Also, see Thread‑safety in the ARM C libraries.