summaryrefslogtreecommitdiff
path: root/innobase/include
diff options
context:
space:
mode:
authormarko@hundin.mysql.fi <>2004-04-01 16:54:22 +0300
committermarko@hundin.mysql.fi <>2004-04-01 16:54:22 +0300
commit4da72c2eb115a26e27d2f6948deb7cb383822dca (patch)
tree8252343ff9865c289e77cc494d095d7aa748dffd /innobase/include
parente00bf40360ce47ce718afe85cccfb28ac4c4e8ac (diff)
parenta169bfa6ae32648bcb97c78dd585767179eca1b7 (diff)
downloadmariadb-git-4da72c2eb115a26e27d2f6948deb7cb383822dca.tar.gz
Merge marko@build.mysql.com:/home/bk/mysql-4.0
into hundin.mysql.fi:/home/marko/j/mysql-4.0
Diffstat (limited to 'innobase/include')
-rw-r--r--innobase/include/srv0srv.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/innobase/include/srv0srv.h b/innobase/include/srv0srv.h
index 769d55fb66c..3811f6ae167 100644
--- a/innobase/include/srv0srv.h
+++ b/innobase/include/srv0srv.h
@@ -155,8 +155,8 @@ extern mutex_t* kernel_mutex_temp;/* mutex protecting the server, trx structs,
/* Array of English strings describing the current state of an
i/o handler thread */
-extern char* srv_io_thread_op_info[];
-extern char* srv_io_thread_function[];
+extern const char* srv_io_thread_op_info[];
+extern const char* srv_io_thread_function[];
typedef struct srv_sys_struct srv_sys_t;
@@ -234,6 +234,15 @@ srv_get_thread_type(void);
/*=====================*/
/* out: SRV_COM, ... */
/*************************************************************************
+Sets the info describing an i/o thread current state. */
+
+void
+srv_set_io_thread_op_info(
+/*======================*/
+ ulint i, /* in: the 'segment' of the i/o thread */
+ const char* str); /* in: constant char string describing the
+ state */
+/*************************************************************************
Releases threads of the type given from suspension in the thread table.
NOTE! The server mutex has to be reserved by the caller! */