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
8364351b
Commit
8364351b
authored
Mar 07, 2015
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Don't report completion at all in the MORE_PROCESSING_REQUIRED case.
parent
d1578d8f
Show 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 @
8364351b
...
@@ -243,9 +243,6 @@ void async_set_timeout( struct async *async, timeout_t timeout, unsigned int sta
...
@@ -243,9 +243,6 @@ void async_set_timeout( struct async *async, timeout_t timeout, unsigned int sta
static
void
add_async_completion
(
struct
async_queue
*
queue
,
apc_param_t
cvalue
,
unsigned
int
status
,
static
void
add_async_completion
(
struct
async_queue
*
queue
,
apc_param_t
cvalue
,
unsigned
int
status
,
apc_param_t
information
)
apc_param_t
information
)
{
{
if
(
status
==
STATUS_MORE_PROCESSING_REQUIRED
)
return
;
/* The async callback has successfully finished but no completion should be reported */
if
(
queue
->
fd
)
if
(
queue
->
fd
)
{
{
apc_param_t
ckey
;
apc_param_t
ckey
;
...
@@ -287,6 +284,8 @@ void async_set_result( struct object *obj, unsigned int status, apc_param_t tota
...
@@ -287,6 +284,8 @@ void async_set_result( struct object *obj, unsigned int status, apc_param_t tota
if
(
async
->
timeout
)
remove_timeout_user
(
async
->
timeout
);
if
(
async
->
timeout
)
remove_timeout_user
(
async
->
timeout
);
async
->
timeout
=
NULL
;
async
->
timeout
=
NULL
;
async
->
status
=
status
;
async
->
status
=
status
;
if
(
status
==
STATUS_MORE_PROCESSING_REQUIRED
)
return
;
/* don't report the completion */
if
(
async
->
data
.
cvalue
)
add_async_completion
(
async
->
queue
,
async
->
data
.
cvalue
,
status
,
total
);
if
(
async
->
data
.
cvalue
)
add_async_completion
(
async
->
queue
,
async
->
data
.
cvalue
,
status
,
total
);
if
(
apc
)
if
(
apc
)
{
{
...
...
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