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
602807c2
Commit
602807c2
authored
Mar 06, 2012
by
Jörg Höhle
Committed by
Alexandre Julliard
Oct 31, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Do not execute callbacks past DeleteTimer(INVALID_HANDLE_VALUE).
parent
c596ddff
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
threadpool.c
dlls/ntdll/threadpool.c
+7
-0
No files found.
dlls/ntdll/threadpool.c
View file @
602807c2
...
...
@@ -1015,7 +1015,11 @@ NTSTATUS WINAPI RtlDeleteTimer(HANDLE TimerQueue, HANDLE Timer,
return
STATUS_INVALID_PARAMETER_1
;
q
=
t
->
q
;
if
(
CompletionEvent
==
INVALID_HANDLE_VALUE
)
{
status
=
NtCreateEvent
(
&
event
,
EVENT_ALL_ACCESS
,
NULL
,
SynchronizationEvent
,
FALSE
);
if
(
status
==
STATUS_SUCCESS
)
status
=
STATUS_PENDING
;
}
else
if
(
CompletionEvent
)
event
=
CompletionEvent
;
...
...
@@ -1029,7 +1033,10 @@ NTSTATUS WINAPI RtlDeleteTimer(HANDLE TimerQueue, HANDLE Timer,
if
(
CompletionEvent
==
INVALID_HANDLE_VALUE
&&
event
)
{
if
(
status
==
STATUS_PENDING
)
{
NtWaitForSingleObject
(
event
,
FALSE
,
NULL
);
status
=
STATUS_SUCCESS
;
}
NtClose
(
event
);
}
...
...
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