o
    1Îja  ã                   @   s   d Z ddlZe ¡ ZdS )aÆ  
Global lock for pypdfium2 operations.

PDFium is inherently not thread-safe. It is not allowed to call pdfium
functions simultaneously across different threads, not even with different
documents. Simultaneous pdfium calls across threads will crash or corrupt
the process.

See: https://pypdfium2.readthedocs.io/en/stable/python_api.html

This module provides a global lock that must be used to serialize all
pypdfium2 operations across the application.
é    N)Ú__doc__Ú	threadingÚLockZpdfium_lock© r   r   úd/var/www/html/Deteccion_Ine/venv/lib/python3.10/site-packages/paddlex/inference/utils/pdfium_lock.pyÚ<module>   s   