Definition of thresh:
(v) :
to beat out grain from, as straw or husks; to beat the straw or husk of (grain) with a flail; to beat off, as the kernels of grain; as, to thrash wheat, rye, or oats; to thrash over the old straw; to beat soundly, as with a stick or whip; to drub