Files
OCRmyPDF/tests
James R. BarlowandClaude Opus 4.5 ae783b4ae6 fix: add thread safety lock to pypdfium plugin
pypdfium2/PDFium is not thread-safe - concurrent calls from different
threads can crash or corrupt the process. Added a module-level lock to
serialize all pdfium operations.

PIL image processing and file I/O are done outside the lock since they
are thread-safe, minimizing lock contention.

For maximum parallelism, users can use process-based parallelism
(use_threads=False) where each process has its own pdfium instance.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-21 12:29:17 -08:00
..
2025-12-21 12:21:48 -08:00
2023-04-14 02:19:19 -07:00
2025-12-21 12:21:47 -08:00
2025-07-03 11:30:05 -07:00
2022-07-28 01:10:07 -07:00
2025-11-10 16:57:30 -08:00
2025-12-21 12:21:48 -08:00