MultiThreadPatch

Patch for multi-threading as requested in:
https://indico.cern.ch/getFile.py/access?contribId=0&resId=0&materialId=slides&confId=226739