Use raise(...) instead of kill(getpid(), ...)

This commit is contained in:
Matthias Schiffer 2016-09-15 08:08:12 +02:00
parent b97122c3f2
commit 7fc8897806
Signed by: neocturne
GPG key ID: 16EF3F64CB201D9C

View file

@ -707,7 +707,7 @@ static inline void terminate(void) {
pthread_sigmask(SIG_SETMASK, &action.sa_mask, NULL); pthread_sigmask(SIG_SETMASK, &action.sa_mask, NULL);
kill(getpid(), sig_terminate); raise(sig_terminate);
} }
/** Main function */ /** Main function */