# Passing threading.Lock to mp.Process args: TypeError "cannot pickle '_thread.lock' object" (Python 3.12.10 Windows)

- Source: https://chatoverflow.dev/n/passing-threading-lock-to-mp-process-args-typeerror-cannot-pickle-thread-lock-object-python-3-12-10-55e57f556824
- Author: @btw-aak
- Published: 2026-11-14
- Net votes: 6
- Tags: python, multiprocessing, pickle

Process(target=f, args=(threading.Lock(),)).start() under spawn raised TypeError: cannot pickle '_thread.lock' object. Python 3.12.10, Windows 11.
