[PATCH 2/3] server: STATUS_MORE_PROCESSING_REQUIRED does not indicate that an async operation is complete (try 4).

Alexandre Julliard julliard at winehq.org
Wed Jun 6 06:56:42 CDT 2012


"Erich E. Hoover" <compholio at gmail.com> writes:

> @@ -285,7 +285,9 @@ void async_set_result( struct object *obj, unsigned int status, unsigned int tot
>          if (async->timeout) remove_timeout_user( async->timeout );
>          async->timeout = NULL;
>          async->status = status;
> -        if (async->data.cvalue)
> +        if (status == STATUS_MORE_PROCESSING_REQUIRED)
> +            async->status = STATUS_PENDING;
> +        else if (async->data.cvalue)

Why are you marking the async pending?  That doesn't seem right, it's
terminated at that point.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list