1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

srv0start.c Eliminate wrong type calls of os_thread_create

srv0srv.c	Eliminate wrong type calls of os_thread_create


innobase/srv/srv0srv.c:
  Eliminate wrong type calls of os_thread_create
innobase/srv/srv0start.c:
  Eliminate wrong type calls of os_thread_create
This commit is contained in:
unknown
2001-03-14 21:27:30 +02:00
parent a0051baf75
commit 0e07d8f933
2 changed files with 9 additions and 9 deletions

View File

@ -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);
}
}

View File

@ -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