Commit 0c88f26
committed
Add free-threading support for Python 3.13+
Implements thread-safe concurrent database operations for Python's
free-threading mode using native locks where available.
- Uses native RW locks (pthread_rwlock_t on POSIX, SRWLOCK on Windows)
to allow multiple concurrent readers
- Uses GIL on platforms that don't support these native locks
- Zero overhead when GIL is enabled (macros compile to no-ops)1 parent 178bf54 commit 0c88f26
2 files changed
+278
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
12 | 16 | | |
13 | 17 | | |
14 | 18 | | |
| |||
0 commit comments