diff options
author | unknown <serg@serg.mylan> | 2005-10-08 16:39:55 +0200 |
---|---|---|
committer | unknown <serg@serg.mylan> | 2005-10-08 16:39:55 +0200 |
commit | 0f60474f290683d2fc468c0081a1058f3f152c16 (patch) | |
tree | 5131856f24706c7b976877506a4c7f7a2615d9e6 /server-tools/instance-manager/instance.cc | |
parent | 970150d14e83b74e66cd61b9f77aa9c378a94ec7 (diff) | |
download | mariadb-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/instance.cc')
-rw-r--r-- | server-tools/instance-manager/instance.cc | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/server-tools/instance-manager/instance.cc b/server-tools/instance-manager/instance.cc index 0c3c1aee5b4..ff3387334b6 100644 --- a/server-tools/instance-manager/instance.cc +++ b/server-tools/instance-manager/instance.cc @@ -43,8 +43,6 @@ typedef pid_t My_process_info; typedef PROCESS_INFORMATION My_process_info; #endif -C_MODE_START - /* Proxy thread is a simple way to avoid all pitfalls of the threads implementation in the OS (e.g. LinuxThreads). With such a thread we @@ -52,7 +50,7 @@ C_MODE_START to do it in a portable way. */ -pthread_handler_decl(proxy, arg) +pthread_handler_t proxy(void *arg) { Instance *instance= (Instance *) arg; start_and_monitor_instance(&instance->options, @@ -60,9 +58,6 @@ pthread_handler_decl(proxy, arg) return 0; } -C_MODE_END - - /* Wait for an instance |