Nir Soffer has posted comments on this change.

Change subject: executor: introduce the executor library
......................................................................


Patch Set 33: Code-Review+1

(1 comment)

http://gerrit.ovirt.org/#/c/29191/33/lib/vdsm/executor.py
File lib/vdsm/executor.py:

Line 186:         finally:
Line 187:             # there is a race here: even in presence of succesfull
Line 188:             # execution, discard can fire just before we disarm it.
Line 189:             # We know and we don't care about sporadic replacements
Line 190:             # of well-behaving workers.
There is no race here - we discard workers that were too slow to disarm the 
timer. It does not matter if the thread was still blocked on callable when we 
discard it or it just finished.
Line 191:             if discard is not None:
Line 192:                 discard.cancel()
Line 193:             if self._discarded:
Line 194:                 raise _WorkerDiscarded()


-- 
To view, visit http://gerrit.ovirt.org/29191
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Ic06da1ba57868dc2c7db67a1868ad10087a1cff2
Gerrit-PatchSet: 33
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Francesco Romani <[email protected]>
Gerrit-Reviewer: Antoni Segura Puimedon <[email protected]>
Gerrit-Reviewer: Dan Kenigsberg <[email protected]>
Gerrit-Reviewer: Dima Kuznetsov <[email protected]>
Gerrit-Reviewer: Federico Simoncelli <[email protected]>
Gerrit-Reviewer: Francesco Romani <[email protected]>
Gerrit-Reviewer: Michal Skrivanek <[email protected]>
Gerrit-Reviewer: Nir Soffer <[email protected]>
Gerrit-Reviewer: Saggi Mizrahi <[email protected]>
Gerrit-Reviewer: Vinzenz Feenstra <[email protected]>
Gerrit-Reviewer: Yaniv Bronhaim <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to