3 May
2023
3 May
'23
1:31 p.m.
On Wed May 3 13:27:26 2023 +0000, Nikolay Sivov wrote:
I mean we need to check for SOURCE_RUNNING explicitly now because of SOURCE_SHUTDOWN? Seems like it would be easier to check for it once and not for every command. Sure, I can do an early exit for now but I think we will want to do things even during shutdown, and it will probably have to be changed later again anyway.
For instance I have some possible plans to replace the read thread with async IMFByteStream reads. I think we might want to keep track of outstanding read / sample requests, decrement the counters here and wait for them in the shutdown procedure. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/2719#note_31880