
    7Th                     f    S SK r S SKJr  S SKJr   " S S\5      r " S S\5      r " S S	\5      rg)
    N)assert_spawning)BaseProcessc                   P   ^  \ rS rSrSrSSSS0 SSS4U 4S jjr\S 5       rSrU =r	$ )	LokyProcess   lokyN Fc	           	      p   > [         T	U ]  UUUUUUS9  Uc  0 OUU l        U R                  U l        Xpl        g )N)grouptargetnameargskwargsdaemon)super__init__envauthkeyinit_main_module)
selfr   r   r   r   r   r   r   r   	__class__s
            ]/var/www/auris/envauris/lib/python3.13/site-packages/joblib/externals/loky/backend/process.pyr   LokyProcess.__init__   sI     	 	 	
 2#|| 0    c                 T    [         R                  S:X  a  SSKJn  OSSKJn  U" U 5      $ )Nwin32   )Popen)sysplatformpopen_loky_win32r   popen_loky_posix)process_objr   s     r   _PopenLokyProcess._Popen'   s    <<7"//[!!r   )r   r   r   )
__name__
__module____qualname____firstlineno___start_methodr   staticmethodr$   __static_attributes____classcell__r   s   @r   r   r      s;    M 1. " "r   r   c                   <   ^  \ rS rSrSrSSSS0 S4U 4S jjrSrU =r$ )LokyInitMainProcess0   loky_init_mainNr	   c           
      ,   > [         TU ]  UUUUUUSS9  g )NT)r   r   r   r   r   r   r   )r   r   )r   r   r   r   r   r   r   r   s          r   r   LokyInitMainProcess.__init__3   s,     	! 	 	
r   )r&   r'   r(   r)   r*   r   r,   r-   r.   s   @r   r0   r0   0   s&    $M 
 
r   r0   c                       \ rS rSrS rSrg)AuthenticationKeyL   c                 p     [        U 5        [        [	        U 5      44$ ! [         a    [        S5      ef = f)NzGPickling an AuthenticationKey object is disallowed for security reasons)r   RuntimeError	TypeErrorr6   bytes)r   s    r   
__reduce__AuthenticationKey.__reduce__M   sE    	D! !5;.00  	2 	s    5r	   N)r&   r'   r(   r)   r<   r,   r	   r   r   r6   r6   L   s    1r   r6   )	r   multiprocessing.contextr   multiprocessing.processr   r   r0   r;   r6   r	   r   r   <module>r@      s5     3 / "+  "F
+ 
8	1 	1r   