def METHOD_NAME(self, image, digit):
    self.image_show_lock.acquire()
    self.image_to_be_shown = image
    self.digit_to_be_shown = digit
    self.image_to_be_shown_updated = True
    self.image_show_lock.release()