summaryrefslogtreecommitdiff
path: root/server-tools/instance-manager/manager.h
diff options
context:
space:
mode:
authorunknown <kostja@oak.local>2003-08-19 19:55:20 +0400
committerunknown <kostja@oak.local>2003-08-19 19:55:20 +0400
commitdf6047f047686eeb6172ea27ac216380d23b64f9 (patch)
treef56be3d05dd68ecf1ee3f12b802de318404e0258 /server-tools/instance-manager/manager.h
parente561c3ee608c8083207f4c07e84b5a0accf6664d (diff)
downloadmariadb-git-df6047f047686eeb6172ea27ac216380d23b64f9.tar.gz
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
Diffstat (limited to 'server-tools/instance-manager/manager.h')
-rw-r--r--server-tools/instance-manager/manager.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/server-tools/instance-manager/manager.h b/server-tools/instance-manager/manager.h
index 0a6c0e03575..2f30813180a 100644
--- a/server-tools/instance-manager/manager.h
+++ b/server-tools/instance-manager/manager.h
@@ -1,3 +1,5 @@
+#ifndef INCLUDES_MYSQL_INSTANCE_MANAGER_MANAGER_H
+#define INCLUDES_MYSQL_INSTANCE_MANAGER_MANAGER_H
/* Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
This program is free software; you can redistribute it and/or modify
@@ -15,3 +17,5 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
void manager(const char *socket_file_name);
+
+#endif // INCLUDES_MYSQL_INSTANCE_MANAGER_MANAGER_H