Ariadne has information Theseus needs, and she names her terms. In the Epitome of the ancient myth handbook called the Library, she offers to help him in exchange for his promise to take her to Athens and marry her. He swears to do it. She can now approach Daedalus, the man who knows the labyrinth from the inside because he designed it.
The thread she supplies works in only one direction. Theseus fixes one end at the door and unwinds the rest behind him. It cannot tell him which turning will lead to the Minotaur. He still has to make his way into the deepest part of the building and find the creature. In this account he kills it with his fists. Only now does the thread come into its own, giving him an unbroken route back along the ground he has covered.
There is a second signal in the story. Theseus had promised his father a white sail to announce his safe return. He follows Ariadne's thread successfully but forgets to change the sail. Far away in Athens, a father reads what he sees and reaches the wrong conclusion.