[PATCH v6 0/7] MR140: qasf: More ASF reader filter implementation.

Zebediah Figura zfigura at codeweavers.com
Wed Jul 6 12:52:37 CDT 2022


On 7/6/22 05:08, Rémi Bernon (@rbernon) wrote:
>> So yes, we could not block in IWMReader::Stop(), but that's not
>> ultimately going to help anything. We do still need to wait for the
>> streaming thread to stop at some point.
> 
> Well we could then call `Stop` and wait for the WMT_STOPPED callback notification with a condition variable, releasing the filter_cs so the callbacks are free to enter it to make the thread-safety obviously correct.

Unfortunately we can't release the filter CS while waiting for the 
thread to stop. We need to protect the whole operation.



More information about the wine-devel mailing list