from multiprocessing import Process # c is a container p = Process(target = f, args = (c,)) p.start()
I assume a deep copy of
c
is passed to functionf
because shallow copy would make no sense in the case of a new process (the new process doesn't have access to the data from the calling process).But how is this deep copy defined? There is a whole set of notes in the
copy.deepcopy()
documentation, do all these notes apply here as well? Themultiprocessing
documentation says nothing...