Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
684f1110
Commit
684f1110
authored
Apr 24, 2005
by
Robert Reif
Committed by
Alexandre Julliard
Apr 24, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove priority boost stuff.
parent
14b3729a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
timer.c
dlls/winmm/tests/timer.c
+1
-7
No files found.
dlls/winmm/tests/timer.c
View file @
684f1110
...
...
@@ -160,15 +160,12 @@ const char * get_priority(int priority)
}
static
int
priority
=
0
;
static
BOOL
disable_boost
=
FALSE
;
static
BOOL
fired
=
FALSE
;
void
CALLBACK
priorityTimeProc
(
UINT
uID
,
UINT
uMsg
,
DWORD
dwUser
,
DWORD
dw1
,
DWORD
dw2
)
{
BOOL
res
;
priority
=
GetThreadPriority
(
GetCurrentThread
());
res
=
GetThreadPriorityBoost
(
GetCurrentThread
(),
&
disable_boost
);
ok
(
res
==
0
,
"GetThreadPriorityBoost() failed, GetLastError() = %08lx
\n
"
,
GetLastError
());
ok
(
priority
!=
THREAD_PRIORITY_ERROR_RETURN
,
"GetThreadPriority() failed, GetLastError() = %08lx
\n
"
,
GetLastError
());
fired
=
TRUE
;
}
...
...
@@ -176,8 +173,6 @@ void test_priority()
{
UINT
id
;
fired
=
FALSE
;
id
=
timeSetEvent
(
100
,
100
,
priorityTimeProc
,
0
,
TIME_ONESHOT
);
ok
(
id
!=
0
,
"timeSetEvent(100, 100, %p, 0, TIME_ONESHOT) returned %d, "
"should have returned id > 0
\n
"
,
priorityTimeProc
,
id
);
...
...
@@ -192,7 +187,6 @@ void test_priority()
ok
(
priority
==
THREAD_PRIORITY_TIME_CRITICAL
,
"thread priority is %s, should be THREAD_PRIORITY_TIME_CRITICAL
\n
"
,
get_priority
(
priority
));
ok
(
disable_boost
==
FALSE
,
"disable thread boost should be FALSE
\n
"
);
}
}
...
...
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