U
    Íø.eh  ã                   @   sl   d dl Z dZddlmZ e j d¡r*dZn.zd dlZW n  ek
rV   d dl	ZdZY nX dd„ Z
d	d
„ ZdS )é    NTé   )Ú_winapiÚjavaFc                   C   s   t d krtdƒ‚d S )Nzmultiprocessing not supported)Ú	_billiardÚNotImplementedError© r   r   ú1/tmp/pip-unpacked-wheel-39f38r4u/billiard/_ext.pyÚensure_multiprocessing   s    r	   c                  C   sX   zddl m}  W nB tk
rR   zddlm}  W n tk
rL   tdƒ‚Y nX Y nX d S )Nr   ©ÚSemLockz—This platform lacks a functioning sem_open implementation, therefore,
the required synchronization primitives needed will not function,
see issue 3770.)r   r   ÚImportErrorÚ_multiprocessingr
   r   r   r   Úensure_SemLock   s    r   )ÚsysZsupports_execÚcompatr   Úwin32ÚplatformÚ
startswithr   r   r   r	   r   r   r   r   r   Ú<module>   s   
