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
2b6d1fa5
Commit
2b6d1fa5
authored
Mar 21, 2007
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ws2_32: Move the signalling of the completion event to the server.
parent
ed016f9b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
socket.c
dlls/ws2_32/socket.c
+1
-5
No files found.
dlls/ws2_32/socket.c
View file @
2b6d1fa5
...
...
@@ -1049,8 +1049,6 @@ static void CALLBACK ws2_async_terminate(ws2_async* as, IO_STATUS_BLOCK* iosb)
{
TRACE
(
"as: %p uovl %p ovl %p
\n
"
,
as
,
as
->
user_overlapped
,
iosb
);
if
(
as
->
event
)
NtSetEvent
(
as
->
event
,
NULL
);
if
(
as
->
completion_func
)
as
->
completion_func
(
NtStatusToWSAError
(
iosb
->
u
.
Status
),
iosb
->
Information
,
as
->
user_overlapped
,
as
->
flags
);
...
...
@@ -1118,10 +1116,7 @@ WS2_make_async(SOCKET s, enum ws2_mode mode, struct iovec *iovec, DWORD dwBuffer
{
*
piosb
=
(
IO_STATUS_BLOCK
*
)
lpOverlapped
;
if
(
!
lpCompletionRoutine
)
{
wsa
->
event
=
lpOverlapped
->
hEvent
;
NtResetEvent
(
wsa
->
event
,
NULL
);
}
}
else
if
(
!
(
*
piosb
=
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
IO_STATUS_BLOCK
))))
goto
error
;
...
...
@@ -1161,6 +1156,7 @@ static ULONG ws2_queue_async(struct ws2_async* wsa, IO_STATUS_BLOCK* iosb)
req
->
async
.
callback
=
apc
;
req
->
async
.
iosb
=
iosb
;
req
->
async
.
arg
=
wsa
;
req
->
async
.
event
=
wsa
->
event
;
req
->
type
=
type
;
req
->
count
=
iosb
->
Information
;
status
=
wine_server_call
(
req
);
...
...
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