On Sat Mar 9 03:19:34 2024 +0000, Zhiyi Zhang wrote:
Let's see what the tests will show and decide what to do next.
This is difficult to trigger on Wine's side, because this particular wait only happens with a race condition: if the callback starts after we have found the item in `queue_cancel_item`, but before we close the tp object. It's probably the same on Windows' side, it would difficult to derive a unambiguous conclusion.
If we don't see `MFCancelWorkItem` block, maybe Windows does not block, maybe we just didn't hit the race condition.
I think it's not worth it to match Windows in a race condition.