L ifddlZddlmZddlmZGddeZGddeZGdd eZy) N)assert_spawning) BaseProcesscDeZdZdZddddidddffd ZedZxZS) LokyProcesslokyNFc vt ||||||||in||_|j|_||_y)N)grouptargetnameargskwargsdaemon)super__init__envauthkeyinit_main_module) selfr r r r rrrr __class__s k/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/joblib/externals/loky/backend/process.pyrzLokyProcess.__init__sK   2#|| 0cRtjdk(rddlm}nddlm}||S)Nwin32)Popen)sysplatformpopen_loky_win32rpopen_loky_posix) process_objrs r_PopenzLokyProcess._Popen's <<7 " / /[!!r)__name__ __module__ __qualname__ _start_methodr staticmethodr" __classcell__rs@rrr s;M   1.""rrc0eZdZdZddddidffd ZxZS)LokyInitMainProcessloky_init_mainNrc 2t|||||||dy)NT)r r r r rrr)rr)rr r r r rrrs rrzLokyInitMainProcess.__init__3s, !  r)r#r$r%r&rr(r)s@rr+r+0s&$M    rr+ceZdZdZy)AuthenticationKeycn t|tt |ffS#t$r tdwxYw)NzGPickling an AuthenticationKey object is disallowed for security reasons)r RuntimeError TypeErrorr/bytes)rs r __reduce__zAuthenticationKey.__reduce__MsE  D ! !5;.00  2  s 4N)r#r$r%r4rrrr/r/Ls1rr/) rmultiprocessing.contextrmultiprocessing.processrrr+r3r/rrrr7s5 3/ "+ "F + 8 1 1r