cpython/Modules/_sqlite
mpage df73179048
gh-111926: Make weakrefs thread-safe in free-threaded builds (#117168)
Most mutable data is protected by a striped lock that is keyed on the
referenced object's address. The weakref's hash is protected using the
weakref's per-object lock.
 
Note that this only affects free-threaded builds. Apart from some minor
refactoring, the added code is all either gated by `ifdef`s or is a no-op
(e.g. `Py_BEGIN_CRITICAL_SECTION`).
2024-04-08 10:58:38 -04:00
..
clinic
blob.c
blob.h
connection.c
connection.h
cursor.c
cursor.h
microprotocols.c
microprotocols.h
module.c
module.h
prepare_protocol.c
prepare_protocol.h
row.c
row.h
statement.c
statement.h
util.c
util.h