HEX
Server: Apache
System: Linux server2.voipitup.com.au 4.18.0-553.104.1.lve.el8.x86_64 #1 SMP Tue Feb 10 20:07:30 UTC 2026 x86_64
User: posscale (1027)
PHP: 8.2.29
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //opt/alt/python38/lib/python3.8/site-packages/daemon/__pycache__/pidfile.cpython-38.pyc
U

{�1`��@s6dZddlmZmZddlmZGdd�dee�ZdS)z8 Lockfile behaviour implemented via Unix PID files.
    �)�absolute_import�unicode_literals)�PIDLockFilecs0eZdZdZd�fdd�	Zd�fdd�	Z�ZS)	�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.

        Ncs||_t�j|f|�|�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__��?/opt/alt/python38/lib/python3.8/site-packages/daemon/pidfile.pyrs	zTimeoutPIDLockFile.__init__cs&|dkr|j}t�j|f|�|�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)rr�acquire)r	�timeoutrrr
rrr*s
zTimeoutPIDLockFile.acquire)N)N)�__name__�
__module__�__qualname__�__doc__rr�
__classcell__rrr
rrsrN)r�
__future__rrZlockfile.pidlockfiler�objectrrrrr�<module>
s