o
    h                     @   sR   d dl mZ d dlZd dlZd dlZdZdZdd Zdd Z	e
d	kr'e	  dS dS )
    )ThreadPoolExecutorN<   
   c                 C   s   t | g  d S )N)paarray	to_pandas)i r	   X/var/www/vscode/kcb/lib/python3.10/site-packages/pyarrow/tests/pandas_threaded_import.pythread_func   s   r   c                  C   sl   t jtdd tt!} dtjvsJ t| t	t
t dtjv s$J W d    d S 1 s/w   Y  d S )NT)exitpandas)faulthandlerdump_traceback_latertimeoutr   num_threadssysmoduleslistmapr   range)poolr	   r	   r
   main"   s   
"r   __main__)concurrent.futuresr   r   r   pyarrowr   r   r   r   r   __name__r	   r	   r	   r
   <module>   s   	
