mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Merge bk-internal.mysql.com:/home/bk/mysql-5.1
into mysql.com:/home/my/mysql-5.1
This commit is contained in:
@ -176,6 +176,8 @@ static bool create_pid_file()
|
||||
appropriately.
|
||||
*************************************************************************/
|
||||
|
||||
extern "C" void reap_child(int);
|
||||
|
||||
void reap_child(int __attribute__((unused)) signo)
|
||||
{
|
||||
/* NOTE: As we have only one child, no need to cycle waitpid(). */
|
||||
@ -197,6 +199,7 @@ void reap_child(int __attribute__((unused)) signo)
|
||||
Set termination status and return.
|
||||
*************************************************************************/
|
||||
|
||||
extern "C" void terminate(int signo);
|
||||
void terminate(int signo)
|
||||
{
|
||||
shutdown_request_signo= signo;
|
||||
|
@ -27,7 +27,9 @@
|
||||
|
||||
enum { THREAD_KICK_OFF_SIGNAL= SIGUSR2 };
|
||||
|
||||
static void handle_signal(int __attribute__((unused)) sig_no)
|
||||
extern "C" void handle_signal(int);
|
||||
|
||||
void handle_signal(int __attribute__((unused)) sig_no)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user