What does "treadmill" mean?

Treadmill: A mill worked by persons treading upon steps on the periphery of a wide wheel having a horizontal axis. It is used principally as a means of prison discipline. Also, a mill worked by horses, dogs, etc., treading an endless belt.

Sources