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.5/multiprocessing/__pycache__/process.cpython-35.pyc


Fa"@svdddgZddlZddlZddlZddlZddlmZyejjej	Z
Wnek
rdZ
YnXddZddZ
dd	ZGd
ddeZGdddeZGd
ddeZeaejdaea[iZxPeejjD]9\ZZedddkr,dekr,eee<q,WeZdS)BaseProcesscurrent_processactive_childrenN)WeakSetcCstS)z@
    Return process object representing the current process
    )_current_processrr-/usr/lib/python3.5/multiprocessing/process.pyr#scCstttS)zN
    Return list of process objects corresponding to live child processes
    )_cleanuplist	_childrenrrrrr)scCs=x6ttD](}|jjdk	r
tj|q
WdS)N)r
r_popenpolldiscard)prrrr	4sr	c	@sKeZdZdZddZdddfiddddZdd	Zd
dZdd
ZdddZ	ddZ
eddZej
ddZeddZej
ddZeddZej
ddZeddZeddZeZedd Zd!d"Zd#d$ZdS)%rz
    Process objects represent activity that is run in a separate process

    The class is analogous to `threading.Thread`
    cCs
tdS)N)NotImplementedError)selfrrr_PopenDszBaseProcess._PopenNdaemoncCs|dkstdtt}tj|f|_tjj|_tj|_	d|_
||_t||_
t||_|pt|jddjdd|jD|_|dk	r||_tj|dS)Nz#group argument must be None for now-:css|]}t|VqdS)N)str).0irrr	<genexpr>Ssz'BaseProcess.__init__.<locals>.<genexpr>)AssertionErrornext_process_counterr	_identity_configcopyosgetpid_parent_pidr_targettuple_argsdict_kwargstype__name__join_namer	_danglingadd)rgrouptargetnameargskwargsrcountrrr__init__Gs		#	zBaseProcess.__init__cCs#|jr|j|j|jdS)zQ
        Method to be run in sub-process; can be overridden in sub-class
        N)r#r%r')rrrrrunXs	zBaseProcess.runcCs|jdkstd|jtjks<tdtjjds[tdt|j	||_|jj
|_tj
|dS)z%
        Start child process
        Nzcannot start a process twicez:can only start a process object created by current processrz3daemonic processes are not allowed to have children)rrr"r r!rrgetr	rsentinel	_sentinelrr-)rrrrstart_s		zBaseProcess.startcCs|jjdS)zT
        Terminate process; sends SIGTERM signal or uses TerminateProcess()
        N)r	terminate)rrrrr:mszBaseProcess.terminatecCsk|jtjks!td|jdk	s<td|jj|}|dk	rgtj|dS)z5
        Wait until child process terminates
        zcan only join a child processNzcan only join a started process)r"r r!rrwaitrr)rZtimeoutZresrrrr*ss
!zBaseProcess.joincCsa|tkrdS|jtjks1td|jdkrDdS|jj|jjdkS)z1
        Return whether process is alive
        Tzcan only test a child processNF)rr"r r!rrr

returncode)rrrris_alive}s!
zBaseProcess.is_alivecCs|jS)N)r+)rrrrr0szBaseProcess.namecCs(t|tstd||_dS)Nzname must be a string)
isinstancerrr+)rr0rrrr0scCs|jjddS)z4
        Return whether process is a daemon
        rF)rr6)rrrrrszBaseProcess.daemoncCs,|jdkstd||jd<dS)z1
        Set whether process is a daemon
        Nzprocess has already startedr)rrr)rZdaemonicrrrrscCs|jdS)Nauthkey)r)rrrrr?szBaseProcess.authkeycCst||jd<dS)z2
        Set authorization key of process
        r?N)AuthenticationStringr)rr?rrrr?scCs#|jdkr|jS|jjS)zM
        Return exit code of process or `None` if it has yet to stop
        N)rr
)rrrrexitcodeszBaseProcess.exitcodecCs-|tkrtjS|jo(|jjSdS)zU
        Return identifier (PID) of process or `None` if it has yet to start
        N)rr r!rpid)rrrridents
zBaseProcess.identcCs0y|jSWntk
r+tdYnXdS)z{
        Return a file descriptor (Unix) or handle (Windows) suitable for
        waiting for process termination.
        zprocess not startedN)r8AttributeError
ValueError)rrrrr7s
zBaseProcess.sentinelcCs|tkrd}n]|jtjkr3d}n?|jdkrKd}n'|jjdk	rl|j}nd}t|tkr|dkrd}ndt	j
||}dt|j|j||j
rdpd	fS)
NZstartedunknowninitialrZstoppedzstopped[%s]z<%s(%s, %s%s)>z daemon)rr"r r!rr
rAr(int_exitcode_to_namer6r)r+r)rZstatusrrr__repr__s				zBaseProcess.__repr__c Csddlm}m}zgy|jdk	r;|j|jtjdata	|j
t}|az|jj
|jWd~X|jdz|jd}Wd|jXWntk
rA}zd|jsd}nMt|jdtr|jd}n'tjjt|jddd}WYdd}~Xn;d}ddl}tjjd|j|jYnXWd|jd|tjjtjjX|S)N)utilcontextz child process calling self.run()r
zProcess %s:
z process exiting with exitcode %d)rHrMrNZ
_start_methodZ_force_start_method	itertoolsr3rsetrZ_close_stdinrZ_finalizer_registryclearZ_run_after_forkersinfor5Z_exit_function
SystemExitr1r>rIsysstderrwriter	tracebackr0	print_excstdoutflush)rrMrNZold_processrAerXrrr
_bootstrapsD	




		!
zBaseProcess._bootstrap)r)
__module____qualname____doc__rr4r5r9r:r*r=propertyr0setterrr?rArCrBr7rKr]rrrrr>s*
	
c@seZdZddZdS)r@cCs>ddlm}|dkr+tdtt|ffS)NrL)get_spawning_popenzJPickling an AuthenticationString object is disallowed for security reasons)rNrc	TypeErrorr@bytes)rrcrrr
__reduce__s
	zAuthenticationString.__reduce__N)r)r^r_rfrrrrr@sr@c@seZdZddZdS)_MainProcesscCsLf|_d|_d|_d|_dttjdddi|_dS)NZMainProcessr? Z	semprefixz/mp)rr+r"rr@r urandomr)rrrrr4%s				z_MainProcess.__init__N)r)r^r_r4rrrrrg#srgrLZSIG_) __all__r rUsignalrP_weakrefsetrpathabspathgetcwdZORIGINAL_DIROSErrorrrr	objectrrer@rgrr3rrQrrJr
__dict__itemsr0Zsignumr,rrrr<module>
s0

		""