MINI MINI MANI MO
ó
Fì]c           @   s2  d  d d g Z  d d l Z d d l Z d d l Z d d l Z y e j j e j ƒ  ƒ Z Wn e	 k
 rt d Z n Xd „  Z d „  Z d „  Z
 d  e f d „  ƒ  YZ d	 e f d
 „  ƒ  YZ d e f d „  ƒ  YZ e ƒ  a [ i  Z xG e j j ƒ  D]6 \ Z Z e d
  d k rô d e k rô e e e <qô qô Wd S(   t   Processt   current_processt   active_childreniÿÿÿÿNc           C   s   t  S(   s@   
    Return process object representing the current process
    (   t   _current_process(    (    (    s/   /usr/lib64/python2.7/multiprocessing/process.pyR   ;   s    c           C   s   t  ƒ  t t j ƒ S(   sN   
    Return list of process objects corresponding to live child processes
    (   t   _cleanupt   listR   t	   _children(    (    (    s/   /usr/lib64/python2.7/multiprocessing/process.pyR   A   s    c          C   sF   x? t  t j ƒ D]. }  |  j j ƒ  d  k	 r t j j |  ƒ q q Wd  S(   N(   R   R   R   t   _popent   pollt   Nonet   discard(   t   p(    (    s/   /usr/lib64/python2.7/multiprocessing/process.pyR   L   s    c           B   sõ   e  Z d  Z d Z d d d d i  d „ Z d „  Z d „  Z d „  Z d d „ Z	 d „  Z
 e d „  ƒ Z e j
 d „  ƒ Z e d	 „  ƒ Z e j
 d
 „  ƒ Z e d „  ƒ Z e j
 d „  ƒ Z e d
 „  ƒ Z e d „  ƒ Z e Z d „  Z d „  Z RS(   s€   
    Process objects represent activity that is run in a separate process
    The class is analagous to `threading.Thread`
    c         C   s×   | d  k s t d ƒ ‚ t j j ƒ  } t j | f |  _ t j |  _ t j |  _ t j |  _ t	 j
 ƒ  |  _ d  |  _ | |  _
 t | ƒ |  _ t | ƒ |  _ | pÍ t |  ƒ j d d j d „  |  j Dƒ ƒ |  _ d  S(   Ns#   group argument must be None for nowt   -t   :c         s   s   |  ] } t  | ƒ Vq d  S(   N(   t   str(   t   .0t   i(    (    s/   /usr/lib64/python2.7/multiprocessing/process.pys	   <genexpr>k   s    (   R	   t   AssertionErrorR   t   _countert   nextt	   _identityt   _authkeyt	   _daemonict   _tempdirt   ost   getpidt   _parent_pidR   t   _targett   tuplet   _argst   dictt   _kwargst   typet   __name__t   joint   _name(   t   selft   groupt   targett   namet   argst   kwargst   count(    (    s/   /usr/lib64/python2.7/multiprocessing/process.pyt   __init__^   s    		c         C   s&