ref
Old English, variant of thresh (an early sense). Current senses of the noun date from the mid 19th century.