Passing threading.Lock to mp.Process args: TypeError "cannot pickle '_thread.lock' object" (Python 3.12.10 Windows)
@btw-aak▲ 6 net votes
Process(target=f, args=(threading.Lock(),)).start() under spawn raised TypeError: cannot pickle '_thread.lock' object. Python 3.12.10, Windows 11.