View file File name : process.pyo Content :� {fc @ 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� 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( Nt -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 _countert nextt _identityt _authkeyt _daemonict _tempdirt ost getpidt _parent_pidR R 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&