+
   Obㅻ                   T    ^ RI t ^ RIt^RI5 ^RI5 RR lt]R8X  d
   ]! 4        R# R# )    N)*c                   aaa V R 8X  d   R oMR oS! R4       \        R\        4       ,          4       \        R\        4       ,          4       R o\        4       \	        4       8X  g   Q hR pR pVV3R	 lpR
oVVV3R lpV3R lpVV3R lp\        ^4      pVP                  V. 4      . 8X  g   Q hVP                  V. 4      P                  4       ^*8X  g   Q hVP                  V. 4      ^*8X  g   Q h\        VP                  V\        . 4      4      4      . 8X  g   Q h\        VP                  V\        . 4      4      4      . 8X  g   Q hVP                  V. 4      P                  4       . 8X  g   Q h\        VP                  V\        . 4      4      P                  4       4      . 8X  g   Q h\        VP!                  V\        . 4      4      P                  4       4      . 8X  g   Q hVP                  VR4      pVP                  ^R7      ^d8X  g   Q h\        VP                  V\#        ^
4      4      4      \        \        V\#        ^
4      4      4      8X  g   Q hVP                  V\#        ^
4      4      p	\%        V	4      ^ 8X  g   Q h\%        V	4      ^8X  g   Q h\%        V	4      ^8X  g   Q hV! 4        VP                  VR 4      pV! VV3R l4       VP                  4       e   Q hV3R lp
\        VP                  V\#        ^
^R!4      ^R7      4      \        \        \&        \#        ^
^R!4      4      4      8X  g   Q h\)        VP                  V\#        ^
^R!4      4      4      \)        \        \&        \#        ^
^R!4      4      4      8X  g   Q hV! 4        VP                  V\#        ^
4      V
R7      pV! VR 4       S! VP                  4       4       V! 4        VP                  V\#        ^^
4      V
R7      pV! VR 4       VP                  4        F  pS! RV4       K  	  S! R4       VP                  4        F  pS! RV4       K  	  V! 4        VP!                  V\#        ^
^R!4      V
R7      pV! VR 4       VP                  4        F  pS! RV4       K  	  VP                  4        F  pS! RV4       K  	  VP                  4       pV F  pS! RV4       K  	  V F  pS! RV4       K  	  V F  pS! RV4       K  	  VP!                  V\#        ^R"R!4      V
R7      p\*        P,                  ! ^4        VP                  4        F  pS! RV4       K  	  VP                  V\#        ^R"R!4      V
R7      p\*        P,                  ! ^4        VP                  4        F  pS! RV4       K  	  VP3                  4        VP5                  4        R
#   \.        \0        3 d    S! R4        Li ; i  \.        \0        3 d    S! R4        L\i ; i)#z-vc                      \        V !   R # N)printxs   *.build/lib/python3.14/site-packages/tbb/test.pysaytest.<locals>.say7   s	    1I    c                      R # r    r   s   *r
   r   r   :   s    r   zStart Pool testingzoneTBB version is %szoneTBB interface version is %sc                  @    \         P                  ! 4       P                  # r   )	threadingcurrent_threadidentr   r   r
   <lambda>test.<locals>.<lambda>@   s    i..066r   c                      ^*# )*   r   r   r   r
   return42test.<locals>.return42D   s    r   c                     W ,          # r   r   r   s   &r
   ftest.<locals>.fG   s	    ur   c                    < \        V 4      pV ^ 8  d   V ) p S! RS! 4       V ^
,          3,          4       \        P                  ! V R,          4       S! RS! 4       V ^
,          3,          4       V# )r   z[%d] Start to work for %fms...g      Y@z[%d] Work done (%fms).)strtimesleep)msecondsresget_tidr   s   & r
   worktest.<locals>.workJ   sa    (ma< yH,	8B;/GGH

8D=!$	8B;'??@
r   Nc                    < S! R S! 4       ,          4       S'       d   \         P                  ! R4       K   S! RS! 4       ,          4       V R8w  d   \        V 4      # R# )z[%d] Spin wait work start...g-C6?z[%d] Work done.N)r   r    r   )paramr#   r   	spin_flags   &r
   timeout_worktest.<locals>.timeout_workU   sG    *WY67JJv	)*"d]s5z44r   c                     < R o R# )TNr   )r(   s   r
   prepare_timeout_exception'test.<locals>.prepare_timeout_exception\   s    	r   c                 \   <  V! V 4       Q R4       h  \          d    S! R4        R oR# i ; i)FzExpected exception !z%Good. Got expected timeout exception.N)TimeoutError)pool_objectfuncr   r(   s   &&r
   check_timeout_exception%test.<locals>.check_timeout_exception`   s>    	1 1005  	978 			9s    ++timeoutc                 4   < S! V P                  ^R7      4      # )   r4   get)resultr   s   &r
   r   r      s    C

1
8M4Nr   c                 &   < S! R V ,          4       R# )zResult ready: %sNr   )sr   s   &r
   cbtest.<locals>.cb   s    "#r   )	chunksize)callbackc                 &    V P                  R R7      # g{Gz?r4   r8   r:   s   &r
   r   r          FJJtJ4Lr   c                 &    V P                  R R7      # rB   r8   rC   s   &r
   r   r      rD   r   zItem:z### Loop again:zItem2:c                 &    V P                  R R7      # rB   r8   rC   s   &r
   r   r      rD   r   zItem1:zItem3:zItem4:zItem5:z	Got item:zGood. Got expected exception)
   r   i)r   runtime_versionruntime_interface_versiondefault_num_threadsthis_task_arena_max_concurrencyPoolmapapply_asyncr9   applylistimapiterimap_unordered	map_async
imap_asyncimap_unordered_asyncrangenextr   sortedr   r    IOError
ValueError	terminatejoin)argr   r   r$   r)   r,   r2   poolr:   itr=   irr#   r   r(   s   &            @@@r
   testrd   5   sU   
d{			
 ?#4
45	
*-F-H
HI6G $C$EEEE I5 7D 88Hb!R'''Hb)--/2555::h#r)))		(DH-."444##Hd2h78B>>>>>(B'++-333$r(3779:b@@@))(DH=AACDJJJ a'F::a: C'''E"I&'4AuRy0A+BBBB	1eBi	 B8q==8q==8q== lG4FF$NO::<$ 		$b!R 0A	>?4U2q"I D        $%%dE"a,<=>&U2q"J C        ^^L%)b^AFF$LM

 __\5B<"_EFF$LMZZ\GQ ZZ\Ha  &&|U2q"5EPR&SFF$LMZZ\Ha ZZ\Ha 

AHa Ha Ha  &&tU1c2->&LFJJqM,AQ  __T5C#4r_BFJJqM,AQ  	NNIIK Z  ,*+, Z  ,*+,s$   + W  W" WW"W>=W>__main__r   )r   r   apir`   rd   __name__r   r   r
   <module>rh      s/   \    Tl zF r   