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
11171652
Commit
11171652
authored
Jan 17, 2006
by
osku
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove incorrect warning printed in sync0arr.c.
parent
d32c8bbd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
sync/sync0arr.c
sync/sync0arr.c
+5
-6
No files found.
sync/sync0arr.c
View file @
11171652
...
...
@@ -908,7 +908,11 @@ sync_array_signal_object(
/**************************************************************************
If the wakeup algorithm does not work perfectly at semaphore relases,
this function will do the waking (see the comment in mutex_exit). This
function should be called about every 1 second in the server. */
function should be called about every 1 second in the server.
Note that there's a race condition between this thread and mutex_exit
changing the lock_word and calling signal_object, so sometimes this finds
threads to wake up even when nothing has gone wrong. */
void
sync_arr_wake_threads_if_sema_free
(
void
)
...
...
@@ -938,11 +942,6 @@ sync_arr_wake_threads_if_sema_free(void)
count
++
;
if
(
sync_arr_cell_can_wake_up
(
cell
))
{
ut_print_timestamp
(
stderr
);
fprintf
(
stderr
,
" InnoDB: warning: sync_arr_wake_threads_if_sema_free()
\n
"
"InnoDB: found a thread to wake up.
\n
"
);
sync_cell_event_set
(
cell
);
ut_a
(
arr
->
n_reserved
>
0
);
...
...
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