summaryrefslogtreecommitdiff
path: root/innobase/srv
diff options
context:
space:
mode:
authorheikki@donna.mysql.fi <>2001-03-14 21:27:30 +0200
committerheikki@donna.mysql.fi <>2001-03-14 21:27:30 +0200
commit181a9ac9b9f8bb8ed78b3dad726a645b8daa2672 (patch)
treef3a697a533964742a307af7739c9f4ac62b1b915 /innobase/srv
parent8024423df7d781ac3b19a600930880df9d2acef7 (diff)
downloadmariadb-git-181a9ac9b9f8bb8ed78b3dad726a645b8daa2672.tar.gz
srv0start.c Eliminate wrong type calls of os_thread_create
srv0srv.c Eliminate wrong type calls of os_thread_create
Diffstat (limited to 'innobase/srv')
-rw-r--r--innobase/srv/srv0srv.c14
-rw-r--r--innobase/srv/srv0start.c4
2 files changed, 9 insertions, 9 deletions
diff --git a/innobase/srv/srv0srv.c b/innobase/srv/srv0srv.c
index 84488761d0e..96a9df9e0ae 100644
--- a/innobase/srv/srv0srv.c
+++ b/innobase/srv/srv0srv.c
@@ -899,8 +899,8 @@ void
srv_create_utility_threads(void)
/*============================*/
{
- os_thread_t thread;
- os_thread_id_t thr_id;
+ os_thread_t thread;
+/* os_thread_id_t thr_id; */
ulint i;
mutex_enter(&kernel_mutex);
@@ -911,7 +911,7 @@ srv_create_utility_threads(void)
mutex_exit(&kernel_mutex);
for (i = 0; i < 1; i++) {
- thread = os_thread_create(srv_recovery_thread, NULL, &thr_id);
+ /* thread = os_thread_create(srv_recovery_thread, NULL, &thr_id); */
ut_a(thread);
}
@@ -979,13 +979,13 @@ srv_create_com_threads(void)
/*========================*/
{
os_thread_t thread;
- os_thread_id_t thr_id;
+/* os_thread_id_t thr_id; */
ulint i;
srv_n_threads[SRV_COM] = srv_n_com_threads;
for (i = 0; i < srv_n_com_threads; i++) {
- thread = os_thread_create(srv_com_thread, NULL, &thr_id);
+ /* thread = os_thread_create(srv_com_thread, NULL, &thr_id); */
ut_a(thread);
}
}
@@ -1043,14 +1043,14 @@ srv_create_worker_threads(void)
/*===========================*/
{
os_thread_t thread;
- os_thread_id_t thr_id;
+/* os_thread_id_t thr_id; */
ulint i;
srv_n_threads[SRV_WORKER] = srv_n_worker_threads;
srv_n_threads_active[SRV_WORKER] = srv_n_worker_threads;
for (i = 0; i < srv_n_worker_threads; i++) {
- thread = os_thread_create(srv_worker_thread, NULL, &thr_id);
+ /* thread = os_thread_create(srv_worker_thread, NULL, &thr_id); */
ut_a(thread);
}
}
diff --git a/innobase/srv/srv0start.c b/innobase/srv/srv0start.c
index b57558859b2..5c8f86aac70 100644
--- a/innobase/srv/srv0start.c
+++ b/innobase/srv/srv0start.c
@@ -683,8 +683,8 @@ innobase_start_or_create_for_mysql(void)
}
if (srv_measure_contention) {
- os_thread_create(&test_measure_cont, NULL, thread_ids +
- SRV_MAX_N_IO_THREADS);
+ /* os_thread_create(&test_measure_cont, NULL, thread_ids +
+ SRV_MAX_N_IO_THREADS); */
}
/* Create the master thread which monitors the database