The windlass is a machine for raising weights. They're found on the decks of ships where they are used to raise the anchor.
A windlass is also an apparatus for bending the arm of a crossbow.