How to run two functions simultaneously

后端 未结 4 393
[愿得一人]
[愿得一人] 2020-12-17 15:07

I am running test but I want to run 2 functions at the same time. I have a camera and I am telling it to move via suds, I am then logging into the camera via SSH to check th

4条回答
  •  没有蜡笔的小新
    2020-12-17 15:28

    There can only be one thread running at the same time. This has been answered extensively here. One solution will be to use two separate processes. The above answer provides some tips.

提交回复
热议问题