ok

Mini Shell

Direktori : /opt/imunify360/venv/lib64/python3.11/site-packages/daemon/__pycache__/
Upload File :
Current File : //opt/imunify360/venv/lib64/python3.11/site-packages/daemon/__pycache__/pidfile.cpython-311.pyc

�

?�Dg���D�dZddlmZmZddlmZGd�dee��ZdS)z8 Lockfile behaviour implemented via Unix PID files.
    �)�absolute_import�unicode_literals)�PIDLockFilec�0��eZdZdZd�fd�	Zd�fd�	Z�xZS)�TimeoutPIDLockFilea@ Lockfile with default timeout, implemented as a Unix PID file.

        This uses the ``PIDLockFile`` implementation, with the
        following changes:

        * The `acquire_timeout` parameter to the initialiser will be
          used as the default `timeout` parameter for the `acquire`
          method.

        Nc�P��||_t��j|g|�Ri|��dS)z� Set up the parameters of a TimeoutPIDLockFile.

            :param path: Filesystem path to the PID file.
            :param acquire_timeout: Value to use by default for the
                `acquire` call.
            :return: ``None``.

            N)�acquire_timeout�super�__init__)�self�pathr	�args�kwargs�	__class__s     ��E/opt/imunify360/venv/lib64/python3.11/site-packages/daemon/pidfile.pyrzTimeoutPIDLockFile.__init__s:��� /���������/��/�/�/��/�/�/�/�/�c�T��|�|j}t��j|g|�Ri|��dS)ax Acquire the lock.

            :param timeout: Specifies the timeout; see below for valid
                values.
            :return: ``None``.

            The `timeout` defaults to the value set during
            initialisation with the `acquire_timeout` parameter. It is
            passed to `PIDLockFile.acquire`; see that method for
            details.

            N)r	r
�acquire)r�timeoutrrrs    �rrzTimeoutPIDLockFile.acquire*s>����?��*�G�������1�$�1�1�1�&�1�1�1�1�1r)N)�__name__�
__module__�__qualname__�__doc__rr�
__classcell__)rs@rrrse�������	�	�
0�
0�
0�
0�
0�
0�2�2�2�2�2�2�2�2�2�2rrN)r�
__future__rr�lockfile.pidlockfiler�objectr�rr�<module>rsq����;�:�:�:�:�:�:�:�,�,�,�,�,�,�'2�'2�'2�'2�'2��f�'2�'2�'2�'2�'2r

Zerion Mini Shell 1.0