Hacked By AnonymousFox
�
�Q�f� � �H � d dl Z d dlZd dlmZ d dlmZ d dlZd dl mZ dgZ edd� Z
de
j _ d e
j _ d
e
j _ de
j _ de
j _ d
e
j _ e� Z G d� d� Zy)� N)�
namedtuple)�count)� monotonic� scheduler�Eventz2time, priority, sequence, action, argument, kwargszaNumeric type compatible with the return value of the
timefunc function passed to the constructor.zSEvents scheduled for the same time will be executed
in the order of their priority.zbA continually increasing sequence number that
separates events if time and priority are equal.z?Executing the event means executing
action(*argument, **kwargs)zGargument is a sequence holding the positional
arguments for the action.zDkwargs is a dictionary holding the keyword
arguments for the action.c �h � e Zd Zeej
fd�Zdefd�Zdefd�Z d� Z
d� Zd
d�Ze
d� � Zy )r c � � g | _ t j � | _ || _ || _ t
� | _ y �N)�_queue� threading�RLock�_lock�timefunc� delayfuncr �_sequence_generator)�selfr r s �,/opt/alt/python312/lib64/python3.12/sched.py�__init__zscheduler.__init__5 s4 � � �����_�_�&��
� ��
�"���#(�7�� � � c �� � |t u ri }| j 5 t ||t | j � |||� }t j | j |� d d d � |S # 1 sw Y S xY wr
)� _sentinelr r �nextr �heapq�heappushr )r �time�priority�action�argument�kwargs�events r �enterabszscheduler.enterabs>