[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: [PATCH 1/2] server: Store async list in process object and use that to find async in cansel_asyn
From:       Alexandre Julliard <julliard () winehq ! org>
Date:       2016-11-30 15:27:57
Message-ID: 87poldouma.fsf () winehq ! org
[Download RAW message or body]

Jacek Caban <jacek@codeweavers.com> writes:

> @@ -614,6 +615,7 @@ static void process_destroy( struct object *obj )
>  
>      /* we can't have a thread remaining */
>      assert( list_empty( &process->thread_list ));
> +    assert( list_empty( &process->asyncs ));

I don't think that this is guaranteed, I believe that there can still be
asyncs in the queues of shared files. We'd probably need to clear them
explicitly at process exit.

-- 
Alexandre Julliard
julliard@winehq.org



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic