explanation of value in multiprocessing? (unexpected output)

后端 未结 0 566
广开言路
广开言路 2020-12-13 04:08

I have this code here:

from multiprocessing import Value, Process

def func(x):
    x.value += 1
    print("child process - " + str(x.value))


x =          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题