« Previous | Next » 

Revision 113359fe

ID113359fe7c388453609c6816e75c548095cd87b8
Parent e3303a4e
Child 83f2d5f6

Added by Michael Hanselmann about 11 years ago

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 <>
Reviewed-by: Guido Trotter <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences