One Hat Cyber Team
Your IP :
216.73.216.183
Server IP :
23.137.84.82
Server :
Linux srv25.usacloudserver.us 5.14.0-570.39.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Sep 4 05:08:52 EDT 2025 x86_64
Server Software :
LiteSpeed
PHP Version :
8.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib64
/
python3.9
/
site-packages
/
borg
/
__pycache__
/
View File Name :
locking.cpython-39.opt-1.pyc
a HZ�h1@ � @ s d dl Z d dlZd dlZd dlZd dlZddlmZ ddlmZm Z ddl mZ d\ZZ Zd\ZZee�Z G dd � d �ZG d d� de�ZG dd � d e �ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� d�ZG dd� d�ZG dd� d�ZdS )� N� )�platform)�Error�ErrorWithTraceback)� create_logger)�add�removeZremove2)Zshared� exclusivec @ sB e Zd ZdZddd�Zdd� Zdd� Zd d � Zdd� Zd d� Z dS )�TimeoutTimerz� A timer for timeout checks (can also deal with "never timeout"). It can also compute and optionally execute a reasonable sleep time (e.g. to avoid polling too often or to support thread/process rescheduling). Nc C sX |dur|dk rt d��|| _|du rB|du r4d}ntd|d �}|| _d| _d| _dS )ag Initialize a timer. :param timeout: time out interval [s] or None (never timeout, wait forever) [default] :param sleep: sleep interval [s] (>= 0: do sleep call, <0: don't call sleep) or None (autocompute: use 10% of timeout [but not more than 60s], or 1s for "never timeout" mode) Nr ztimeout must be >= 0g �?g N@g $@)� ValueError�timeout_interval�min�sleep_interval� start_time�end_time)�self�timeout�sleep� r �2/usr/lib64/python3.9/site-packages/borg/locking.py�__init__ s zTimeoutTimer.__init__c C s d� | jj| j| j| j| j�S )Nz1<{}: start={!r} end={!r} timeout={!r} sleep={!r}>)�format� __class__�__name__r r r r �r r r r �__repr__, s �zTimeoutTimer.__repr__c C s&