def __init_variables(): buffer_ = [] rw_lock = RWLock() threads = [] return (buffer_, rw_lock, threads)
def __init__(self, sentinel): TreeAccessor.__init__(self, sentinel) self.__lock = RWLock()