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(a)redhat.com>
Gerrit-Reviewer: Adam Litke <alitke(a)redhat.com>
Gerrit-Reviewer: Ala Hino <ahino(a)redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini(a)redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken(a)redhat.com>
Gerrit-Reviewer: Dima Kuznetsov <dkuznets(a)redhat.com>
Gerrit-Reviewer: Federico Simoncelli <fsimonce(a)redhat.com>
Gerrit-Reviewer: Freddy Rolland <frolland(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Nir Soffer <nsoffer(a)redhat.com>
Gerrit-Reviewer: Yaniv Bronhaim <ybronhei(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org
Gerrit-HasComments: Yes