Revision 113359fe
ID | 113359fe7c388453609c6816e75c548095cd87b8 |
SharedLock: Avoid acquires from sneaking in while notifying
In some rare cases new shared acquires could sneak in through the
condition cached in “__pending_shared” while the code was still
notifying acquires. This was only working because such a condition
would be on top of the queue.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Files
- added
- modified
- copied
- renamed
- deleted