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
82bee5ce
Commit
82bee5ce
authored
Jun 17, 2014
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Properly block sent messages while waiting for a reply with SMTO_BLOCK.
parent
93c225a7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
message.c
dlls/user32/message.c
+5
-5
No files found.
dlls/user32/message.c
View file @
82bee5ce
...
...
@@ -3011,6 +3011,7 @@ static void wait_message_reply( UINT flags )
{
struct
user_thread_info
*
thread_info
=
get_user_thread_info
();
HANDLE
server_queue
=
get_server_queue_handle
();
unsigned
int
wake_mask
=
QS_SMRESULT
|
((
flags
&
SMTO_BLOCK
)
?
0
:
QS_SENDMESSAGE
);
for
(;;)
{
...
...
@@ -3018,11 +3019,10 @@ static void wait_message_reply( UINT flags )
SERVER_START_REQ
(
set_queue_mask
)
{
req
->
wake_mask
=
QS_SMRESULT
|
((
flags
&
SMTO_BLOCK
)
?
0
:
QS_SENDMESSAGE
)
;
req
->
changed_mask
=
req
->
wake_mask
;
req
->
wake_mask
=
wake_mask
;
req
->
changed_mask
=
wake_mask
;
req
->
skip_wait
=
1
;
if
(
!
wine_server_call
(
req
))
wake_bits
=
reply
->
wake_bits
;
if
(
!
wine_server_call
(
req
))
wake_bits
=
reply
->
wake_bits
&
wake_mask
;
}
SERVER_END_REQ
;
...
...
@@ -3036,7 +3036,7 @@ static void wait_message_reply( UINT flags )
continue
;
}
wow_handlers
.
wait_message
(
1
,
&
server_queue
,
INFINITE
,
QS_SENDMESSAGE
,
0
);
wow_handlers
.
wait_message
(
1
,
&
server_queue
,
INFINITE
,
wake_mask
,
0
);
}
}
...
...
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