Change in vdsm[master]: rwlock: Add simpler RWLock
dkuznets at redhat.com
dkuznets at redhat.com
Mon Jul 6 10:41:04 UTC 2015
Dima Kuznetsov has posted comments on this change.
Change subject: rwlock: Add simpler RWLock
......................................................................
Patch Set 6: Code-Review+1
(1 comment)
https://gerrit.ovirt.org/#/c/42908/6/lib/vdsm/rwlock.py
File lib/vdsm/rwlock.py:
Line 43: if self._writer or self._waiters:
Line 44: self._wait(False)
Line 45: self._readers.add(threading.current_thread())
Line 46: if self._waiters:
Line 47: self._wakeup_next_waiter()
+1
Line 48:
Line 49: def release(self):
Line 50: me = threading.current_thread()
Line 51: with self._lock:
--
To view, visit https://gerrit.ovirt.org/42908
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I2466c137c89598772fb46347eb02195916883cac
Gerrit-PatchSet: 6
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Nir Soffer <nsoffer at redhat.com>
Gerrit-Reviewer: Adam Litke <alitke at redhat.com>
Gerrit-Reviewer: Ala Hino <ahino at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Dima Kuznetsov <dkuznets at redhat.com>
Gerrit-Reviewer: Federico Simoncelli <fsimonce at redhat.com>
Gerrit-Reviewer: Freddy Rolland <frolland at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Nir Soffer <nsoffer at redhat.com>
Gerrit-Reviewer: Yaniv Bronhaim <ybronhei at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-HasComments: Yes
More information about the vdsm-patches
mailing list