ó
O'—^c           @@  sÜ   d  d l  m Z d  d l Z e Z d d l m Z e j j	 d ƒ rM d Z ny y d  d l Z Wn# e k
 r‚ d  d l Z e Z n Xy e j Z Wn! e k
 r³ d  d l m Z n Xe e d d ƒ Z d „  Z d	 „  Z d S(
   i    (   t   absolute_importNi   (   t   _winapit   java(   t
   Connectiont   PipeConnectionc           C@  s   t  d  k r t d ƒ ‚ n  d  S(   Ns   multiprocessing not supported(   t	   _billiardt   Nonet   NotImplementedError(    (    (    s/   /tmp/pip-unpacked-wheel-40MfcW/billiard/_ext.pyt   ensure_multiprocessing   s    c          C@  s`   y d d l  m }  WnE t k
 r[ y d d l m }  Wq\ t k
 rW t d ƒ ‚ q\ Xn Xd  S(   Ni    (   t   SemLocks—   This platform lacks a functioning sem_open implementation, therefore,
the required synchronization primitives needed will not function,
see issue 3770.(   R   R	   t   ImportErrort   _multiprocessing(   R	   (    (    s/   /tmp/pip-unpacked-wheel-40MfcW/billiard/_ext.pyt   ensure_SemLock   s    (   t
   __future__R    t   syst   Truet   supports_exect   compatR   t   win32t   platformt
   startswithR   R   R
   R   t   FalseR   t   AttributeErrort   billiard.connectiont   getattrR   R   R   (    (    (    s/   /tmp/pip-unpacked-wheel-40MfcW/billiard/_ext.pyt   <module>   s"   	
	