Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
181a9ac9
Commit
181a9ac9
authored
Mar 14, 2001
by
heikki@donna.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
srv0start.c Eliminate wrong type calls of os_thread_create
srv0srv.c Eliminate wrong type calls of os_thread_create
parent
8024423d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
innobase/srv/srv0srv.c
innobase/srv/srv0srv.c
+7
-7
innobase/srv/srv0start.c
innobase/srv/srv0start.c
+2
-2
No files found.
innobase/srv/srv0srv.c
View file @
181a9ac9
...
...
@@ -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
);
}
}
...
...
innobase/srv/srv0start.c
View file @
181a9ac9
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment