diff --git a/changes.txt b/changes.txt index 804544e79..29cb7adeb 100644 --- a/changes.txt +++ b/changes.txt @@ -2,7 +2,7 @@ Change Log ========== -**Changes in version 1.27.2.2** +**Changes in version 1.27.2.2** (2026-03-20) * Fixed issues: diff --git a/docs/faq/index.rst b/docs/faq/index.rst index 812ec9ed7..c36362f72 100644 --- a/docs/faq/index.rst +++ b/docs/faq/index.rst @@ -1133,6 +1133,24 @@ FAQ
No, PyMuPDF does not support multithreaded use, + even with newer free-thread Python. + +
Making PyMuPDF work with threads is a tricky problem. + The underlying MuPDF library only provides partial thread safety so the results would not be as performant as might be naively assumed, + and the implementation would inevitably introduce and expose subtle bugs. + +
Any thread-safe implementation of PyMuPDF would also necessarily impose a single-threaded overhead. + +
The preferred approach is to use multiple processes instead of multiple threads. + This gives most of what is generally required, + with simplicity and guaranteed correctness. +