HEX

Warning: set_time_limit() [function.set-time-limit]: Cannot set time limit - prohibited by configuration in /home/u547966/brikov.ru/www/wp-content/plugins/admin-menu-editor/menu-editor.php on line 745
Server: Apache
System: Linux 4.19.0-0.bpo.9-amd64 x86_64 at red40
User: u547966 (5490)
PHP: 5.3.29-mh2
Disabled: syslog, dl, popen, proc_open, proc_nice, proc_get_status, proc_close, proc_terminate, posix_mkfifo, chown, chgrp, accelerator_reset, opcache_reset, accelerator_get_status, opcache_get_status, pcntl_alarm, pcntl_fork, pcntl_waitpid, pcntl_wait, pcntl_wifexited, pcntl_wifstopped, pcntl_wifsignaled, pcntl_wifcontinued, pcntl_wexitstatus, pcntl_wtermsig, pcntl_wstopsig, pcntl_signal, pcntl_signal_dispatch, pcntl_get_last_error, pcntl_strerror, pcntl_sigprocmask, pcntl_sigwaitinfo, pcntl_sigtimedwait, pcntl_exec, pcntl_getpriority, pcntl_setpriority
Upload Files
File: //usr/lib/python3.7/__pycache__/_dummy_thread.cpython-37.pyc
B

{a@sxdZdddddddgZdZeZifd	dZd
dZddZddZdddZ	ddZ
GdddeZda
daddZd
S)a/Drop-in replacement for the thread module.

Meant to be used as a brain-dead substitute so that threaded code does
not need to be rewritten for when the thread module is not present.

Suggested usage is::

    try:
        import _thread
    except ImportError:
        import _dummy_thread as _thread

errorstart_new_threadexit	get_ident
allocate_lockinterrupt_mainLockTypelcCst|ttkrtdt|ttkr4tdday|||Wn.tk
rZYnddl}|YnXdatrdat	dS)aDummy implementation of _thread.start_new_thread().

    Compatibility is maintained by making sure that ``args`` is a
    tuple and ``kwargs`` is a dictionary.  If an exception is raised
    and it is SystemExit (which can be done by _thread.exit()) it is
    caught and nothing is done; all other exceptions are printed out
    by using traceback.print_exc().

    If the executed function calls interrupt_main the KeyboardInterrupt will be
    raised when the function returns.

    z2nd arg must be a tuplez3rd arg must be a dictFNT)
typetuple	TypeErrordict_main
SystemExit	traceback	print_exc
_interruptKeyboardInterrupt)Zfunctionargskwargsrr#/usr/lib/python3.7/_dummy_thread.pyrs 
cCstdS)z'Dummy implementation of _thread.exit().N)rrrrrr=scCsdS)zDummy implementation of _thread.get_ident().

    Since this module should only be used when _threadmodule is not
    available, it is safe to assume that the current process is the
    only thread.  Thus a constant can be safely returned.
    rrrrrrAscCstS)z0Dummy implementation of _thread.allocate_lock().)rrrrrrJsNcCs|dk	rtddS)z-Dummy implementation of _thread.stack_size().Nz'setting thread stack size not supportedr)r)sizerrr
stack_sizeNsrcCstS)z0Dummy implementation of _thread._set_sentinel().)rrrrr
_set_sentinelTsrc@sFeZdZdZddZdddZeZdd	Zd
dZdd
Z	ddZ
dS)raClass implementing dummy implementation of _thread.LockType.

    Compatibility is maintained by maintaining self.locked_status
    which is a boolean that stores the state of the lock.  Pickling of
    the lock, though, should not be done since if the _thread module is
    then used with an unpickled ``lock()`` from here problems could
    occur from this class not having atomic methods.

    cCs
d|_dS)NF)
locked_status)selfrrr__init__cszLockType.__init__NcCsH|dks|rd|_dS|js&d|_dS|dkr@ddl}||dSdS)aDummy implementation of acquire().

        For blocking calls, self.locked_status is automatically set to
        True and returned appropriately based on value of
        ``waitflag``.  If it is non-blocking, then the value is
        actually checked and not set if it is already acquired.  This
        is all done so that threading.Condition's assert statements
        aren't triggered and throw a little fit.

        NTrF)rtimeZsleep)rZwaitflagZtimeoutrrrracquirefs
zLockType.acquirecCs|dS)N)release)rtypvaltbrrr__exit__szLockType.__exit__cCs|js
td|_dS)zRelease the dummy lock.FT)rr)rrrrr!szLockType.releasecCs|jS)N)r)rrrrlockedszLockType.lockedcCs*d|jrdnd|jj|jjtt|fS)Nz<%s %s.%s object at %s>r&Zunlocked)r	__class__
__module____qualname__hexid)rrrr__repr__s
zLockType.__repr__)Nr)__name__r(r)__doc__rr 	__enter__r%r!r&r,rrrrrXs	
	FTcCstr
tndadS)z^Set _interrupt flag to True to have start_new_thread raise
    KeyboardInterrupt upon exiting.TN)r
rrrrrrrs)N)r.__all__TIMEOUT_MAXRuntimeErrorrrrrrrrobjectrrr
rrrrr<module>
s
 	
@