summaryrefslogtreecommitdiff
path: root/server-tools/instance-manager/guardian.cc
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2005-10-08 16:39:55 +0200
committerunknown <serg@serg.mylan>2005-10-08 16:39:55 +0200
commit0f60474f290683d2fc468c0081a1058f3f152c16 (patch)
tree5131856f24706c7b976877506a4c7f7a2615d9e6 /server-tools/instance-manager/guardian.cc
parent970150d14e83b74e66cd61b9f77aa9c378a94ec7 (diff)
downloadmariadb-git-0f60474f290683d2fc468c0081a1058f3f152c16.tar.gz
pthread_handler_decl() changed to be ctags-friendly
(and contain extern "C" when necessary)
Diffstat (limited to 'server-tools/instance-manager/guardian.cc')
-rw-r--r--server-tools/instance-manager/guardian.cc7
1 files changed, 1 insertions, 6 deletions
diff --git a/server-tools/instance-manager/guardian.cc b/server-tools/instance-manager/guardian.cc
index a4c0cef41b3..291b685ef1b 100644
--- a/server-tools/instance-manager/guardian.cc
+++ b/server-tools/instance-manager/guardian.cc
@@ -33,18 +33,13 @@
-C_MODE_START
-
-pthread_handler_decl(guardian, arg)
+pthread_handler_t guardian(void *arg)
{
Guardian_thread *guardian_thread= (Guardian_thread *) arg;
guardian_thread->run();
return 0;
}
-C_MODE_END
-
-
Guardian_thread::Guardian_thread(Thread_registry &thread_registry_arg,
Instance_map *instance_map_arg,
uint monitoring_interval_arg) :