def share(self):
    if self._threadsafe:
        return {'queue': self._queue}
    else:
        return {'data': self._data}
def share(self):
    if self._threadsafe:
        return {'queue': self._queue}
    else:
        return {'data': self._data}