Skip to main content
Jan 15, 2020 11:57 AM UTC

Do we have plan when will we support python multiprocessing

hi do we know when we will support python multiprocessing feature, it is currently blocking us to run test cases in parallel, with python2.7, I got error message saying “Multiprocessing is not implemented, because of EDC5257”, what is EDC5257 ? with python 3.6, a simple python program with multiprocessing.Pool feature will hang.

    1 reply

    Feb 14, 2020 9:44 AM UTC

    hi do we know when we will support python multiprocessing feature, it is currently blocking us to run test cases in parallel, with python2.7, I got error message saying “Multiprocessing is not implemented, because of EDC5257”, what is EDC5257 ? with python 3.6, a simple python program with multiprocessing.Pool feature will hang.

    That would be very interesting, esp. if it would run on SRBs in order to exploit ZIIP processors like Java can.

    In a Python program, multiprocessing could be fairly easily substituted with threading though not exploiting multiple processors on a z machine:

        try:
            import multiprocessing
            from multiprocessing import Process, Lock, Value
        except:
            print('"multiprocessing" module not available using "threading"')
            from threading import Lock
            from threading import Thread as Process
            class Value(object):
                def __init__(self,typ,val):
                    self.value=val
    

    This seems to run fairly parallel for reads from a database on z/OS - see