%PDF- %PDF-
Direktori : /lib/python3/dist-packages/fasteners/__pycache__/ |
Current File : //lib/python3/dist-packages/fasteners/__pycache__/process_mechanism.cpython-312.pyc |
� �e� � �N � d dl mZ d dl mZ d dlZd dlZ G d� de� Z G d� de� Z G d� d e� Z G d � de� Z G d� d e� Z G d� de� Z ej dk( r.d dlZd dl mc mZ d dlmc mZ d dlmc mZ e � Z e� Zyd dlZ e � Z e� Zy)� )�ABC)�abstractmethodNc �t � e Zd Zeed� � � Zeed� � � Zeed� � � Zeed� � � Zy)�&_InterProcessReaderWriterLockMechanismc � � y �N� )�lockfile� exclusives �=/usr/lib/python3/dist-packages/fasteners/process_mechanism.py�trylockz._InterProcessReaderWriterLockMechanism.trylock � � � � c � � y r r �r s r �unlockz-_InterProcessReaderWriterLockMechanism.unlock r r c � � y r r ��paths r � get_handlez1_InterProcessReaderWriterLockMechanism.get_handle r r c � � y r r r s r �close_handlez3_InterProcessReaderWriterLockMechanism.close_handle r r N) �__name__� __module__�__qualname__�staticmethodr r r r r r r r r r sp � ���� � �� ��� � �� ��� � �� ��� � �r r c �@ � e Zd Zeed� � � Zeed� � � Zy)�_InterProcessMechanismc � � y r r r s r r z_InterProcessMechanism.trylock r r c � � y r r r s r r z_InterProcessMechanism.unlock$ r r N)r r r r r r r r r r r r s8 � ���� � �� ��� � �r r c �0 � e Zd ZdZed� � Zed� � Zy)�_WindowsInterProcessMechanismz?Interprocess lock implementation that works on windows systems.c �n � | j � }t j |t j d� y �N� )�fileno�msvcrt�locking�LK_NBLCK�r r&