+
     Bi/                        . ROt ^ RIt^ RIt^ RIt^ RIt^ RIt^ RIHt  ]P                  P                  ]P                  ! 4       4      tR tR tR tR t ! R R ]4      t ! R R	]4      t ! R
 R]4      t ! R R]4      tRs]! 4       s]P2                  ! ^4      s]! 4       sA/ t]! ]P>                  PA                  4       4       F(  w  t!t"]!R,          R8X  g   K  R]!9  g   K  R]! 2]]") &   K*  	  A!A"]! 4       t#R#   ] d    Rt Li ; i)BaseProcessN)WeakSetc                      \         # N)_current_process     ./usr/lib/python3.14/multiprocessing/process.pycurrent_processr
   %   s
     r   c                  4    \        4        \        \        4      # r   )_cleanuplist	_childrenr   r   r	   active_childrenr   +   s     J	?r   c                      \         # r   )_parent_processr   r   r	   parent_processr   3   s
     r   c                      \        \        4       FB  p V P                  ;p'       g   K  VP                  4       f   K-  \        P	                  V 4       KD  	  R # r   )r   r   _popenpolldiscard)pchild_popens     r	   r   r   =   s>    )_88#K##)9)9);)Ga  r   c                   l  a  ] tR t^Gt o R tRRRR/ 3RR/R lltR tR tR tR t	R	 t
R
 tRR ltR tR t]R 4       t]P"                  R 4       t]R 4       t]P"                  R 4       t]R 4       t]P"                  R 4       t]R 4       t]R 4       t]t]R 4       tR tRR lt]R 4       tRtV tR# )r   c                    \         hr   )NotImplementedErrorselfs   &r	   _PopenBaseProcess._PopenM   s    !!r   Ndaemonc               L   \        \        4      p\        P                  V3,           V n        \        P                  P                  4       V n        \        P                  ! 4       V n        \        P                  V n
        R V n        RV n        W n        \        V4      V n        \!        V4      V n        T;'       gD    \%        V 4      P&                  R,           RP)                  R V P                   4       4      ,           V n        Ve   W`n        \.        P1                  V 4       R # )NF-:c              3   8   "   T F  p\        V4      x  K  	  R # 5ir   )str).0is   & r	   	<genexpr>'BaseProcess.__init__.<locals>.<genexpr>^   s     =nc!ffns   )next_process_counterr   	_identity_configcopyosgetpid_parent_pidname_parent_namer   _closed_targettuple_argsdict_kwargstype__name__join_namer    	_danglingadd)r   grouptargetr2   argskwargsr    counts   &&&&&&$ r	   __init__BaseProcess.__init__P   s     %&)33uh>'//44699;,114[
F| > >T$Z0036XX=dnn==>
 Kdr   c                @    V P                   '       d   \        R 4      hR# )zprocess object is closedN)r4   
ValueErrorr   s   &r	   _check_closedBaseProcess._check_closedc   s    <<<788 r   c                z    V P                   '       d)   V P                   ! V P                  / V P                  B  R # R # r   )r5   r7   r9   r   s   &r	   runBaseProcess.rung   s+     <<<LL$**55 r   c                    V P                  4        \        4        V P                  V 4      V n        V P                  P                  V n        V =V =V =\        P                  V 4       R # r   )rI   r   r   r   sentinel	_sentinelr5   r7   r9   r   r?   r   s   &r	   startBaseProcess.startn   sS     	 	
kk$'-- L$*dldr   c                Z    V P                  4        V P                  P                  4        R # r   )rI   r   	interruptr   s   &r	   rT   BaseProcess.interrupt         	r   c                Z    V P                  4        V P                  P                  4        R # r   )rI   r   	terminater   s   &r	   rX   BaseProcess.terminate   rV   r   c                Z    V P                  4        V P                  P                  4        R # r   )rI   r   killr   s   &r	   r[   BaseProcess.kill   s      	r   c                    V P                  4        V P                  P                  V4      pVe   \        P	                  V 4       R # R # r   )rI   r   waitr   r   )r   timeoutress   && r	   r<   BaseProcess.join   s>     	 kkw'?d# r   c                    V P                  4        V \        J d   R # V P                  f   R# V P                  P                  4       pVf   R # \        P                  V 4       R# )TF)rI   r   r   r   r   r   )r   
returncodes   & r	   is_aliveBaseProcess.is_alive   sW     	## ;;[[%%'
d#r   c                    V P                   e`   V P                   P                  4       f   \        R4      hV P                   P                  4        R V n         V =\
        P                  V 4       RV n        R # )Nz^Cannot close a process while it is still running. You should first call join() or terminate().T)r   r   rH   closerP   r   r   r4   r   s   &r	   rg   BaseProcess.close   sg     ;;"{{!)  "P Q QKKDKd#r   c                    V P                   # r   r=   r   s   &r	   r2   BaseProcess.name   s    zzr   c                    Wn         R # r   rj   )r   r2   s   &&r	   r2   rk      s	     
r   c                :    V P                   P                  R R4      # )r    F)r-   getr   s   &r	   r    BaseProcess.daemon   s    
 ||%00r   c                "    WP                   R &   R# )r    Nr-   )r   daemonics   &&r	   r    ro      s     "*Xr   c                (    V P                   R ,          # )authkeyrq   r   s   &r	   rt   BaseProcess.authkey   s    ||I&&r   c                6    \        V4      V P                  R &   R# )rt   N)AuthenticationStringr-   )r   rt   s   &&r	   rt   ru      s    
 #7w"?Yr   c                    V P                  4        V P                  f   V P                  # V P                  P                  4       # r   )rI   r   r   r   s   &r	   exitcodeBaseProcess.exitcode   s7    
 	;;;;{{!!r   c                    V P                  4        V \        J d   \        P                  ! 4       # V P                  ;'       d    V P                  P
                  # r   )rI   r   r/   r0   r   pidr   s   &r	   identBaseProcess.ident   s?    
 	##99;;;224;;??2r   c                r    V P                  4         V P                  #   \         d    \        R 4      Rhi ; i)zprocess not startedN)rI   rP   AttributeErrorrH   r   s   &r	   rO   BaseProcess.sentinel   s<     		>>>! 	>23=	>s    6c                   R pV \         J d   RpMpV P                  '       d   RpM[V P                  \        P                  ! 4       8w  d   RpM4V P
                  f   RpM#V P
                  P                  4       pVe   RpMRp\        V 4      P                  RV P                  ,          .pV P
                  e-   VP                  RV P
                  P                  ,          4       VP                  RV P                  ,          4       VP                  V4       Ve.   \        P                  W4      pVP                  R	V,          4       V P                  '       d   VP                  R
4       RRP                  V4      ,          # )Nstartedclosedunknowninitialstoppedzname=%rzpid=%sz	parent=%szexitcode=%sr    z<%s> )r   r4   r1   r/   r0   r   r   r:   r;   r=   appendr|   _exitcode_to_namern   r    r<   )r   ry   statusinfos   &   r	   __repr__BaseProcess.__repr__
  s   ##F\\\F,F[[ F{{'')H#""T
##Y%;<;;"KK4;;??23K$"2"223F(,,X@HKK01;;;KK!&&r   c                   ^RI HpHp  V P                  e   VP	                  V P                  4       \
        P                  ! ^4      s\        4       s	VP                  4        \        pV s\        V P                  V P                  V4      s\         P"                  '       d$   \         P$                  ! 4       P'                  4         V P)                  4        ?VP+                  R4       V P-                  4        ^ p\         PD                  ! 4        TP+                  RT,          4       TPG                  4        T#   ?i ; i  \.         d   pTP0                  f   ^ p Rp?Le\3        TP0                  \4        4      '       d   TP0                  p Rp?L\6        P8                  P;                  \=        TP0                  4      R,           4       ^p Rp?LRp?i ^p^ RIp\6        P8                  P;                  RT P@                  ,          4       TPC                  4         EL$; i  \         PD                  ! 4        TP+                  RX,          4       TPG                  4        i ; i)   )utilcontextNz child process calling self.run()
zProcess %s:
z process exiting with exitcode %d)$ r   r   _start_method_force_start_method	itertoolsrD   r+   setr   _close_stdinr   _ParentProcessr3   r1   r   	threading_HAVE_THREAD_NATIVE_IDmain_thread_set_native_id_after_forkr   rL   
SystemExitcode
isinstanceintsysstderrwriter%   	tracebackr2   	print_exc	_shutdown_flush_std_streams)r   parent_sentinelr   r   old_processry   er   s   &&      r	   
_bootstrapBaseProcess._bootstrap)  s   #%	&!!-++D,>,>?(q1I*K#,!!4#3#3_FO///%%'668   "  II89HHJH !II88CD##%-    	vv~AFFC((66

  QVVt!34	"HJJ_tyy89!!II88CD##%s[   B;D? D9 $D? 9D<<D? ?H
GH! ,GH! ;GH! AHH! !?I c                 f    ^RI Hp  V P                  P                  4        V P	                  4        R# )r   r   N)r   r   _finalizer_registryclear_run_after_forkersr   s    r	   r   BaseProcess._after_forkV  s#      &&(!r   )r7   r4   r-   r,   r9   r=   r3   r1   r   rP   r5   r    r   r   )r;   
__module____qualname____firstlineno__r   rE   rI   rL   rQ   rT   rX   r[   r<   rd   rg   propertyr2   setterr    rt   ry   r}   r|   rO   r   r   staticmethodr   __static_attributes____classdictcell____classdict__s   @r	   r   r   G   s7    " "$T2 &96$  	$&"   
[[  1 1 ]]* * ' ' ^^@ @ " " 3 3 C	> 	>'>+Z " "r   c                   &   a  ] tR tRt o R tRtV tR# )rw   ia  c                Z    ^RI Hp V! 4       f   \        R4      h\        \	        V 4      33# )r   )get_spawning_popenzJPickling an AuthenticationString object is disallowed for security reasons)r   r   	TypeErrorrw   bytes)r   r   s   & r	   
__reduce__AuthenticationString.__reduce__b  s3    /'2  $eDk^33r   r   N)r;   r   r   r   r   r   r   r   s   @r	   rw   rw   a  s     4 4r   rw   c                   J   a  ] tR tRt o R tR t]R 4       tRR lt]t	Rt
V tR# )	r   ip  c                p    RV n         Wn        W n        R V n        R V n        RV n        W0n        / V n        R # )NFr   )r,   r=   _pidr1   r   r4   rP   r-   )r   r2   r|   rO   s   &&&&r	   rE   _ParentProcess.__init__r  s5    
	!r   c                B    ^ RI Hp V! V P                  .^ R7      '       * # )    r^   r_   multiprocessing.connectionr^   rP   )r   r^   s   & r	   rd   _ParentProcess.is_alive|  s    3(!444r   c                    V P                   # r   )r   r   s   &r	   r}   _ParentProcess.ident  s    yyr   Nc                <    ^ RI Hp V! V P                  .VR7       R# )r   r   r   Nr   )r   r_   r^   s   && r	   r<   _ParentProcess.join  s     	4dnnw/r   )r4   r-   r,   r=   r1   r   r   rP   r   )r;   r   r   r   rE   rd   r   r}   r<   r|   r   r   r   s   @r	   r   r   p  s/     5  0 Cr   r   c                   ,   a  ] tR tRt o R tR tRtV tR# )_MainProcessi  c                    RV n         R V n        RV n        RV n        RV n        R\        \        P                  ! ^ 4      4      RR/V n        R# )MainProcessNFrt   	semprefixz/mpr   )	r,   r=   r1   r   r4   rw   r/   urandomr-   r   s   &r	   rE   _MainProcess.__init__  sG    "
!#7

2#G#U,r   c                    R # r   r   r   s   &r	   rg   _MainProcess.close  s    r   )r4   r-   r,   r=   r1   r   N)r;   r   r   r   rE   rg   r   r   r   s   @r	   r   r     s     ,$ r   r   :N   NSIG_r"   )r   r
   r   r   )$__all__r/   r   signalr   r   _weakrefsetr   pathabspathgetcwdORIGINAL_DIROSErrorr
   r   r   r   objectr   r   rw   r   r   r   r   rD   r+   r   r   r   r   __dict__itemsr2   signumr>   r   r   r	   <module>r      s    
 
    77??299;/L!S"& S"t45 4[ B; 0 > ??1% E	  ..01LD&Bx3d?'(Z6'" 2 	& I	{  Ls   *C> >	D
	D
