| Server IP : 104.21.21.239 / Your IP : 216.73.217.39 Web Server : Apache/2.4.68 (Amazon Linux) OpenSSL/3.5.5 System : Linux ip-172-31-69-123.ec2.internal 6.1.176-223.369.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jul 24 13:34:27 UTC 2026 x86_64 User : ec2-user ( 1000) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib64/python3.9/site-packages/awscrt/__pycache__/ |
Upload File : |
a
ů�i� � @ sD d Z ddlZed�dd�Zeed�dd�Zd d
�eed�dd
�ZdS )z&
Cross-platform library for `awscrt`.
� N)�returnc C s t �� S )z�
Returns number of processor groups on the system.
Useful for working with non-uniform memory access (NUMA) nodes.
)�_awscrt�get_cpu_group_count� r r �3/usr/lib64/python3.9/site-packages/awscrt/common.pyr s r )� group_idxr c C s
t �| �S )z8
Returns number of processors in a given group.
)r �get_cpu_count_for_group)r r r r r s r g ��timeout_sec)r
r c C s
t �| �S )a�
Waits for all native threads to complete their join call.
This can only be safely called from the main thread.
This call may be required for native memory usage to reach zero.
Args:
timeout_sec (float): Number of seconds to wait before a timeout exception is raised.
By default the wait is unbounded.
Returns:
bool: Returns whether threads could be joined before the timeout.
)r Zthread_join_all_managedr r r r �join_all_native_threads s r )�__doc__r �intr r �float�boolr r r r r �<module> s