| Server IP : 121.121.20.254 / Your IP : 216.73.217.51 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Python315/Lib/test/__pycache__/ |
Upload File : |
R
>lqj�� c � � Q s ] PHs] PHs] PHs] QHGsGs ] PHs] PH s] PH$s ] QH(Gs ] QH0G
s
\O \O Q2 sQ s Q Q\2 s Q Q \O( 2 s Q
Q\2 s Q Q
\2 s Q Q\2 s Q Q\2 s Q Q\2 s Q Q\2 s Q Q\2 s Q Q\2 s Q Q\2 sP! )z/
Various tests for synchronization primitives.
)�start_new_thread�TIMEOUT_MAX)�support)�threading_helperz9platform doesn't support fork (no _at_fork_reinit method)c �B � [ O Q U * 2 P! )�{�G�z�?)�time�sleep)�nthreads &�$C:\Python315\\Lib\test\lock_tests.py�wait_threads_blockedr s � � �J�J�u�w��� c �H ` � \ sQ s]s n QsQQ ksQ sQ sQ sQ s Qs
U sP! ) �Bunchz
A bunch of threads.
c �p � Vm V m , U m , U m , U m U% ( U m PU m P! )z�
Construct a bunch of `nthread` threads running the same function `func`.
If `wait_before_exit` is True, the threads won't terminate until
do_finish() is called.
)�funcr �started�finished�
exceptions� _can_exit�_wait_thread)�selfr r �wait_before_exits &&&&r
�__init__�Bunch.__init__ s5 � � � ��������
����-�-��� ��r c �l � [ O 2 oU O O U2 U O 2 U O O U2 [ O [ O 2 F D oU O % f J P! P! [
c&