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
4f6db78c
Commit
4f6db78c
authored
Feb 05, 2013
by
Jörg Höhle
Committed by
Alexandre Julliard
Feb 07, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Use the monotonic time counter also for timer queues.
parent
9aa8300f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
threadpool.c
dlls/ntdll/threadpool.c
+3
-3
No files found.
dlls/ntdll/threadpool.c
View file @
4f6db78c
...
...
@@ -605,9 +605,9 @@ static DWORD WINAPI timer_callback_wrapper(LPVOID p)
static
inline
ULONGLONG
queue_current_time
(
void
)
{
LARGE_INTEGER
now
;
NtQuery
SystemTime
(
&
now
);
return
now
.
QuadPart
/
10000
;
LARGE_INTEGER
now
,
freq
;
NtQuery
PerformanceCounter
(
&
now
,
&
freq
);
return
now
.
QuadPart
*
1000
/
freq
.
QuadPart
;
}
static
void
queue_add_timer
(
struct
queue_timer
*
t
,
ULONGLONG
time
,
...
...
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