pypet/utils/mpwrappers.py
def _receive_data(self):
        """Gets data from pipe"""
        while True:
            while len(self._buffer) < self.max_size and self.conn.poll():
                data = self._read_chunks()
                if data is not None:
                    self._buffer.append(data)
            if len(self._buffer) > 0:
                return self._buffer.popleft()
def _receive_data(self):
        while True:
            while len(self._buffer) < self.max_size and self.conn.poll():
                data = self._read_chunks()
                if data is not None:
                    self._buffer.append(data)
            if len(self._buffer) > 0:
                return self._buffer.popleft()
def _receive_data ( self ) : while True : while len ( self . _buffer ) < self . max_size and self . conn . poll ( ) : data = self . _read_chunks ( ) if data is not None : self . _buffer . append ( data ) if len ( self . _buffer ) > 0 : return self . _buffer . popleft ( )
Gets data from pipe
Gets data from pipe