1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

First implementation for signal handling and multi-threading:

safe shutdown and signal deliverence to all threads in 
the manager process


server-tools/instance-manager/Makefile.am:
  added listener.{h,cc} (listener thread)
  and thread_repository.{h,cc} - 
  class to handle threads && signals
server-tools/instance-manager/log.h:
  minor fixes
server-tools/instance-manager/manager.cc:
  unnecessary error checking was removed 
  added implementation for signal thread
server-tools/instance-manager/manager.h:
  header guards're added
server-tools/instance-manager/mysqlmanager.cc:
  unnecessary error checking was removed
server-tools/instance-manager/options.cc:
  minor fixes
server-tools/instance-manager/options.h:
  removed wrong declaration
This commit is contained in:
unknown
2003-08-19 19:55:20 +04:00
parent e561c3ee60
commit df6047f047
11 changed files with 483 additions and 79 deletions

View File

@ -73,7 +73,7 @@ void print_error(const char *format, ...)
void log_init();
/* initialize logs for daemon application */
/* print information to the error log and eixt(1) */
void die(const char *format, ...)
#ifdef __GNUC__