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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
c0157e8a
Commit
c0157e8a
authored
Oct 07, 2008
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
compiler warnings on winx86
parent
10a2bac7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
unittest/mysys/waiting_threads-t.c
unittest/mysys/waiting_threads-t.c
+2
-2
No files found.
unittest/mysys/waiting_threads-t.c
View file @
c0157e8a
...
@@ -54,7 +54,7 @@ pthread_handler_t test_wt(void *arg)
...
@@ -54,7 +54,7 @@ pthread_handler_t test_wt(void *arg)
my_rnd_init
(
&
rand
,
(
ulong
)(
intptr
)
&
m
,
id
);
my_rnd_init
(
&
rand
,
(
ulong
)(
intptr
)
&
m
,
id
);
if
(
kill_strategy
==
YOUNGEST
)
if
(
kill_strategy
==
YOUNGEST
)
thds
[
id
].
thd
.
weight
=
~
my_getsystime
();
thds
[
id
].
thd
.
weight
=
(
ulong
volatile
)
~
my_getsystime
();
if
(
kill_strategy
==
LOCKS
)
if
(
kill_strategy
==
LOCKS
)
thds
[
id
].
thd
.
weight
=
0
;
thds
[
id
].
thd
.
weight
=
0
;
...
@@ -104,7 +104,7 @@ retry:
...
@@ -104,7 +104,7 @@ retry:
if
(
kill_strategy
==
LOCKS
)
if
(
kill_strategy
==
LOCKS
)
thds
[
id
].
thd
.
weight
=
0
;
thds
[
id
].
thd
.
weight
=
0
;
if
(
kill_strategy
==
YOUNGEST
)
if
(
kill_strategy
==
YOUNGEST
)
thds
[
id
].
thd
.
weight
=
~
my_getsystime
();
thds
[
id
].
thd
.
weight
=
(
ulong
volatile
)
~
my_getsystime
();
}
}
else
if
(
kill_strategy
==
LOCKS
)
else
if
(
kill_strategy
==
LOCKS
)
thds
[
id
].
thd
.
weight
++
;
thds
[
id
].
thd
.
weight
++
;
...
...
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