Zebediah Figura z.figura12@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.