Dan Kenigsberg has posted comments on this change. Change subject: Adding threads limitation to misc.tmap ......................................................................
Patch Set 4: (1 inline comment) .................................................... File vdsm/storage/misc.py Line 1214: if exception is not None: Line 1215: raise exception Line 1216: Line 1217: Line 1218: def tmap(func, iterable, maxthreads=UNLIMITED_THREADS): please be a sport and keep the function in-place to simplify the review process? Line 1219: """ Line 1220: Make an iterator that computes the function using arguments from the Line 1221: iterable by running each operation in a different thread in specific Line 1222: order. -- To view, visit http://gerrit.ovirt.org/8858 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I07845bfd78b9215e8994ac2ebe46a7ff78c85625 Gerrit-PatchSet: 4 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Yaniv Bronhaim <[email protected]> Gerrit-Reviewer: Dan Kenigsberg <[email protected]> Gerrit-Reviewer: Saggi Mizrahi <[email protected]> Gerrit-Reviewer: ShaoHe Feng <[email protected]> Gerrit-Reviewer: Shu Ming <[email protected]> Gerrit-Reviewer: Yaniv Bronhaim <[email protected]> Gerrit-Reviewer: Zhou Zheng Sheng <[email protected]> _______________________________________________ vdsm-patches mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches
