Commit 964f7c63 authored by monty@hundin.mysql.fi's avatar monty@hundin.mysql.fi

Portability fix

parent 0ca1a5e1
......@@ -218,7 +218,9 @@ void write_core(int sig)
{
signal(sig, SIG_DFL);
pthread_kill(pthread_self(), sig);
#if defined(P_PID) && defined(P_MYID)
/* On Solaris, the above kill is not enough */
sigsend(P_PID,P_MYID,sig);
#endif
}
#endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment