21 Aug
2020
21 Aug
'20
12:59 p.m.
Zebediah Figura <z.figura12(a)gmail.com> writes:
RtlLeaveCriticalSection( crit ); - status = RtlWaitOnAddress( &variable->Ptr, &val, sizeof(int), timeout ); + if ((status = unix_funcs->fast_wait_cv( variable, value, timeout )) == STATUS_NOT_IMPLEMENTED) + status = RtlWaitOnAddress( &variable->Ptr, &value, sizeof(value), timeout );
Couldn't you always use RtlWaitOnAddress, since it has a fast path already? I'd like to reduce the number of non-syscall entry points into the Unix library. -- Alexandre Julliard julliard(a)winehq.org