python (3.11.7)

(root)/
lib/
python3.11/
multiprocessing/
__pycache__/
process.cpython-311.opt-1.pyc

ek/&gdZddlZddlZddlZddlZddlZddlmZ	ej	ej
Zn
#e$rdZYnwxYwdZ
dZdZdZGdd	eZGd
deZGdd
eZGddeZdaeaejdaea[iZeej D] \Z!Z"e!dddkr
de!vr	de!ee"<![!["eZ#dS))BaseProcesscurrent_processactive_childrenparent_processN)WeakSetctS)z@
    Return process object representing the current process
    )_current_processK/BuggyBox/python/3.11.7/bootstrap/lib/python3.11/multiprocessing/process.pyrr%s
rcFtttS)zN
    Return list of process objects corresponding to live child processes
    )_cleanuplist	_childrenr
rrrr+s
JJJ	??rctS)z?
    Return process object representing the parent process
    )_parent_processr
rrrr3s
rcttD]9}|jx}r.|t|:dSN)rr_popenpolldiscard)pchild_popens  rrr=sV
)__!!8#K	!)9)9););)Ga   !!rcneZdZdZdZddddifdddZdZdZd	Zd
Z	dZ
ddZd
ZdZ
edZejdZedZejdZedZejdZedZedZeZedZdZddZedZdS)rz
    Process objects represent activity that is run in a separate process

    The class is analogous to `threading.Thread`
    ctr)NotImplementedErrorselfs r_PopenzBaseProcess._PopenMs!!rNr
)daemonc6tt}tj|fz|_tj|_t
j|_tj	|_
d|_d|_||_
t||_t!||_|p;t%|jdzdd|jDz|_|||_t.|dS)NF-:c34K|]}t|VdSr)str).0is  r	<genexpr>z'BaseProcess.__init__.<locals>.<genexpr>^s(==c!ff======r)next_process_counterr		_identity_configcopyosgetpid_parent_pidname_parent_namer_closed_targettuple_argsdict_kwargstype__name__join_namer 	_danglingadd)rgrouptargetr1argskwargsr counts        r__init__zBaseProcess.__init__Ps%&&)3uh>'/44669;;,14[[
F||>T$ZZ036XX==dn=====>
 DK

drc2|jrtddS)Nzprocess object is closed)r3
ValueErrorrs r
_check_closedzBaseProcess._check_closedcs%<	97888	9	9rcF|jr|j|ji|jdSdS)zQ
        Method to be run in sub-process; can be overridden in sub-class
        N)r4r6r8rs rrunzBaseProcess.rungs9<	6DL$*555555	6	6rc|t|||_|jj|_|`|`|`t
|dS)z%
        Start child process
        N)rGrrrsentinel	_sentinelr4r6r8rr>rs rstartzBaseProcess.startnsg	
	


kk$''-
L$*dl

drc`||jdS)zT
        Terminate process; sends SIGTERM signal or uses TerminateProcess()
        N)rGr	terminaters rrOzBaseProcess.terminates0	
rc`||jdS)zT
        Terminate process; sends SIGKILL signal or uses TerminateProcess()
        N)rGrkillrs rrQzBaseProcess.kills0	
rc||j|}|t|dSdS)z5
        Wait until child process terminates
        N)rGrwaitrr)rtimeoutress   rr;zBaseProcess.joinsS	
kw''?d#####?rc||turdS|jdS|j}|dSt|dS)z1
        Return whether process is alive
        TNF)rGr	rrrr)r
returncodes  ris_alivezBaseProcess.is_alivesm	
###4;5[%%''
4d###5rc|jd|jtd|jd|_|`t
|d|_dS)z
        Close the Process object.

        This method releases resources held by the Process object.  It is
        an error to call this method if the child process is still running.
        Nz^Cannot close a process while it is still running. You should first call join() or terminate().T)rrrFcloserLrrr3rs rrZzBaseProcess.closesz;"{!!) "PQQQKDKd###rc|jSrr<rs rr1zBaseProcess.names
zrc||_dSrr\)rr1s  rr1zBaseProcess.names


rc8|jddS)z4
        Return whether process is a daemon
        r F)r,getrs rr zBaseProcess.daemons
|%000rc||jd<dS)z1
        Set whether process is a daemon
        r Nr,)rdaemonics  rr zBaseProcess.daemons"*Xrc|jdS)Nauthkeyrars rrdzBaseProcess.authkeys|I&&rc4t||jd<dS)z2
        Set authorization key of process
        rdN)AuthenticationStringr,)rrds  rrdzBaseProcess.authkeys
#7w"?"?Yrcx||j|jS|jS)zM
        Return exit code of process or `None` if it has yet to stop
        )rGrrrs rexitcodezBaseProcess.exitcodes:
	
;;{!!!rc||turtjS|jo|jjS)zU
        Return identifier (PID) of process or `None` if it has yet to start
        )rGr	r.r/rpidrs ridentzBaseProcess.idents?
	
###9;;;24;?2rcv|	|jS#t$rtddwxYw)z{
        Return a file descriptor (Unix) or handle (Windows) suitable for
        waiting for process termination.
        zprocess not startedN)rGrLAttributeErrorrFrs rrKzBaseProcess.sentinelsO	
	>>!	>	>	>233=	>s8cd}|turd}nS|jrd}nI|jtjkrd}n*|jd}n |j}|d}nd}t|jd|j	zg}|j"|
d|jjz|
d|jz|
||3t
||}|
d	|z|jr|
d
dd|zS)
Nstartedclosedunknowninitialstoppedzname=%rzpid=%sz	parent=%szexitcode=%sr z<%s> )r	r3r0r.r/rrr9r:r<appendrj_exitcode_to_namer_r r;)rrhstatusinfos    r__repr__zBaseProcess.__repr__sF###FF
\	#FF


,
,FF
[
 FF{''))H#""T

#Y%;<;"KK4;?2333K$"22333F(,,Xx@@HKK
0111;	"KK!!!&&rcddlm}m}	|j||jtjdata	|
t}|at|j
|j|at jr%t!j	|~n#~wxYw|d	|d}|n#|wxYwn#t0$rl}|jd}nXt5|jt6r|j}n6t8jt?|jdzd}Yd}~nKd}~wd}ddl }t8jd|j!z|"YnxYwt!j#|d|z|$nD#t!j#|d|z|$wxYw|S)N)utilcontextz child process calling self.run()r
zProcess %s:
z process exiting with exitcode %d)%r|r}
_start_method_force_start_method	itertoolsrCr*setr_close_stdinr	_ParentProcessr2r0r	threading_HAVE_THREAD_NATIVE_IDmain_thread_set_native_id_after_forkrxrI_exit_function
SystemExitcode
isinstanceintsysstderrwriter%	tracebackr1	print_exc	_shutdown_flush_std_streams)rparent_sentinelr|r}old_processrhers        r
_bootstrapzBaseProcess._bootstrap"s|########(	&!-++D,>???(q11I*K#,!4#3_FFO/
9%''66888
   """ KKII8999
&


##%%%%##%%%%%			v~AFC((
6
  QVt!3444	"HJ_ty8999!!!!!!!!II88CDDD##%%%%
!!!II88CDDD##%%%%scB,D.7C
D.
CD.)D?D.D**D.-H*.
G'8A"FH*AG'%H**AI+clddlm}|j|dS)Nr{r|)rr|_finalizer_registryclear_run_after_forkersrs rrzBaseProcess._after_forkRsA &&(((!!!!!rr)r:
__module____qualname____doc__rrDrGrIrMrOrQr;rXrZpropertyr1setterr rdrhrkrjrKryrstaticmethodrr
rrrrGs
""""$T2&999666$   	$	$	$	$&"X
[[11X1]**]*''X'
^@@^@""X"33X3C
	>	>X	>'''>....`""\"""rrceZdZdZdS)rfcnddlm}|tdtt	|ffS)Nr{)get_spawning_popenzJPickling an AuthenticationString object is disallowed for security reasons)r}r	TypeErrorrfbytes)rrs  r
__reduce__zAuthenticationString.__reduce__^sO//////'2
$eDkk^33rN)r:rrrr
rrrfrf]s#44444rrfc<eZdZdZdZedZddZeZdS)rcvd|_||_||_d|_d|_d|_||_i|_dS)Nr
F)r+r<_pidr0rr3rLr,)rr1rjrKs    rrDz_ParentProcess.__init__ns?
	!rc6ddlm}||jgdS)NrrSrTmultiprocessing.connectionrSrL)rrSs  rrXz_ParentProcess.is_alivexs13333334(!44444rc|jSr)rrs rrkz_ParentProcess.ident|s
yrNc8ddlm}||jg|dS)z6
        Wait until parent process terminates
        rrrNr)rrTrSs   rr;z_ParentProcess.joins6	433333dn
w//////rr)	r:rrrDrXrrkr;rjr
rrrrlsb555X0000CCCrrceZdZdZdZdS)_MainProcesscd|_d|_d|_d|_d|_tt
jddd|_dS)Nr
MainProcessF z/mp)rd	semprefix)	r+r<r0rr3rfr.urandomr,rs rrDz_MainProcess.__init__sN"
#7
2#G#G%*,,rcdSrr
rs rrZz_MainProcess.closesrN)r:rrrDrZr
rrrrs2,,,$




rrr{SIG_r")$__all__r.rsignalrr_weakrefsetrpathabspathgetcwdORIGINAL_DIROSErrorrrrrobjectrrrfrrrr	rCr*rrrvr__dict__itemsr1signumr=r
rr<module>rs:
			







7??929;;//LLLLL!!!O"O"O"O"O"&O"O"O"l444445444[B




;


0<>>"9?1%%CEE	D..001100LD&BQBx3d??%/ZZ6'"&
GII			s'AAA