File: //lib64/python3.6/__pycache__/sched.cpython-36.opt-2.pyc
3
\o @ s d dl Z d dlZd dlmZ yd dlZW n ek
rD d dlZY nX d dl mZ dgZ G dd deddZ
de
j _d e
j_d
e
j
_de
j_de
j_e ZG d
d dZdS ) N)
namedtuple) monotonic schedulerc @ s8 e Zd Zg Zdd Zdd Zdd Zdd Zd d
ZdS )Eventc C s | j | jf|j |jfkS )N)timepriority)so r
/usr/lib64/python3.6/sched.py__eq__' s zEvent.__eq__c C s | j | jf|j |jfk S )N)r r )r r r
r
r __lt__( s zEvent.__lt__c C s | j | jf|j |jfkS )N)r r )r r r
r
r __le__) s zEvent.__le__c C s | j | jf|j |jfkS )N)r r )r r r
r
r __gt__* s zEvent.__gt__c C s | j | jf|j |jfkS )N)r r )r r r
r
r __ge__+ s zEvent.__ge__N) __name__
__module____qualname__ __slots__r r
r r r r
r
r
r r % s r z(time, priority, 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.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 @ s^ e Zd ZeejfddZf efddZf efddZ dd Z
d d
Zddd
Ze
dd ZdS )r c C s g | _ tj | _|| _|| _d S )N)_queue threadingRLock_locktimefunc delayfunc)selfr r r
r
r __init__<