Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
08016dc3
Commit
08016dc3
authored
Jan 08, 2003
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Grab the thread object in case the thread terminates with pending
async requests (spotted by Andreas Mohr).
parent
632d0c2d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
async.c
server/async.c
+2
-3
No files found.
server/async.c
View file @
08016dc3
...
@@ -56,7 +56,7 @@ void destroy_async( struct async *async )
...
@@ -56,7 +56,7 @@ void destroy_async( struct async *async )
async
->
q
=
NULL
;
async
->
q
=
NULL
;
async
->
next
=
NULL
;
async
->
next
=
NULL
;
async
->
prev
=
NULL
;
async
->
prev
=
NULL
;
release_object
(
async
->
thread
);
free
(
async
);
free
(
async
);
}
}
...
@@ -127,7 +127,7 @@ struct async *create_async(struct object *obj, struct thread *thread,
...
@@ -127,7 +127,7 @@ struct async *create_async(struct object *obj, struct thread *thread,
}
}
async
->
obj
=
obj
;
async
->
obj
=
obj
;
async
->
thread
=
thread
;
async
->
thread
=
(
struct
thread
*
)
grab_object
(
thread
)
;
async
->
overlapped
=
overlapped
;
async
->
overlapped
=
overlapped
;
async
->
next
=
NULL
;
async
->
next
=
NULL
;
async
->
prev
=
NULL
;
async
->
prev
=
NULL
;
...
@@ -178,4 +178,3 @@ DECL_HANDLER(register_async)
...
@@ -178,4 +178,3 @@ DECL_HANDLER(register_async)
obj
->
ops
->
queue_async
(
obj
,
req
->
overlapped
,
req
->
status
,
req
->
type
,
req
->
count
);
obj
->
ops
->
queue_async
(
obj
,
req
->
overlapped
,
req
->
status
,
req
->
type
,
req
->
count
);
release_object
(
obj
);
release_object
(
obj
);
}
}
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