Библиотека ansible плейбуков на разные случаи
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910111213
  1. import time
  2. import multiprocessing
  3. import child_process
  4. print("Hello world")
  5. processes = [None] * 4
  6. for i in range(4):
  7. processes[i] = multiprocessing.Process(target=child_process.run, args=(i,))
  8. processes[i].start()
  9. for i in range(4):
  10. processes[i].join()