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
723b7455
Commit
723b7455
authored
Jun 19, 2008
by
Jacek Caban
Committed by
Alexandre Julliard
Jun 20, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Better timer handling.
parent
1aac23d8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
task.c
dlls/mshtml/task.c
+8
-2
No files found.
dlls/mshtml/task.c
View file @
723b7455
...
...
@@ -81,7 +81,6 @@ static void release_task_timer(HWND thread_hwnd, task_timer_t *timer)
{
list_remove
(
&
timer
->
entry
);
KillTimer
(
thread_hwnd
,
timer
->
id
);
IDispatch_Release
(
timer
->
disp
);
heap_free
(
timer
);
...
...
@@ -336,18 +335,25 @@ static void process_task(task_t *task)
static
LRESULT
process_timer
(
void
)
{
thread_data_t
*
thread_data
=
get_thread_data
(
TRUE
);
DWORD
tc
=
GetTickCount
()
;
DWORD
tc
;
task_timer_t
*
timer
;
TRACE
(
"
\n
"
);
while
(
!
list_empty
(
&
thread_data
->
timer_list
))
{
timer
=
LIST_ENTRY
(
list_head
(
&
thread_data
->
timer_list
),
task_timer_t
,
entry
);
tc
=
GetTickCount
();
if
(
timer
->
time
>
tc
)
{
SetTimer
(
thread_data
->
thread_hwnd
,
TIMER_ID
,
timer
->
time
-
tc
,
NULL
);
return
0
;
}
list_remove
(
&
timer
->
entry
);
list_init
(
&
timer
->
entry
);
call_disp_func
(
timer
->
doc
,
timer
->
disp
);
release_task_timer
(
thread_data
->
thread_hwnd
,
timer
);
}
...
...
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