Why does a Python process not run at the same time, but move on to the next process after one process is completed sequentially?

Asked 2 years ago, Updated 2 years ago, 15 views

import signcros
import signuturn
from multiprocessing import Process
from Multiprocessing import go

def main() :

    U_Process = Process(target=signuturn.sign_camstart())
    test = Process(target=go.GO())
    Cros_Process=Process(target=signcros.sign_camstart())

    U_Process.start()
    Cros_Process.start()

    test.start()


if __name__ == "__main__":
    main()

python

2022-09-22 10:57

1 Answers

signuturn.sign_camstart, signcross.sign_camstart() and go.GO() end too quickly to appear to be running sequentially?


2022-09-22 10:57

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.