27 Sep
2022
27 Sep
'22
2:26 p.m.
On Tue Sep 27 11:11:22 2022 +0000, Torge Matthies wrote:
I used `RtlWakeAddressAll` because I don't know that there will only ever be a single waiter. Maybe two threads call `_StructuredTaskCollection::_RunAndWait`, or we add a wait in the worker threads at some point. Is `RtlWakeAddressAll` less performant than `RtlWakeAddressSingle`? I don't know if it's valid to run _RunAndWait concurrently. If no - RtlWakeAddressSingle will be sufficient. If yes - expected variable can't be computed once because this->finished may be zeroed by another _RunAndWait call.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/906#note_9384