Zebediah Figura (@zfigura) commented about dlls/ntdll/sync.c:
return RtlRunOnceComplete( once, 0, context ? *context : NULL );
}
-struct srw_lock -{
- short exclusive_waiters;
+/**
- The SRWLOCK is a tagged pointer, with the last 4 bits been the tag.
- The pointer part serves 2 roles: if there is no waiters on the lock,
- it counts the number of shared owners of the lock; otherwise, it
- points to the end of the waiter queue, which is a linked list of waiters.
For maximum clarity, can we say "tail" rather than "end"?