1580s, "to separate grains from wheat, etc., by beating," dialectal variant of threshen (see thresh). Sense of "beat (someone) with (or as if with) a flail" is first recorded 1620s. Meaning "to make wild movements like those of a flail or whip" is attested from 1846. Related: Thrashed; thrashing. As a noun from 1660s, "threshing tool;" 1840s as "a beating;" 1982 as the name for a type of fast heavy metal music.
Entries linking to thrash
Old English þrescan, þerscan, "to beat, sift grain by trampling or beating," from Proto-Germanic *threskan "to thresh," originally "to tread, to stamp noisily" (source also of Middle Dutch derschen, Dutch dorschen, Old High German dreskan, German dreschen, Old Norse þreskja, Swedish tröska, Gothic þriskan), from PIE root *tere- (1) "to rub, turn."
The basic notion is of men or oxen treading out wheat; later, with the advent of the flail, the word acquired its modern extended sense of "to knock, beat, strike." The original Germanic sense is suggested by the use of the word in Romanic languages that borrowed it, such as Italian trescare "to prance," Old French treschier "to dance," Spanish triscar "to stamp the feet." For metathesis of -r- and vowel, see wright.
*terə-, Proto-Indo-European root meaning "to rub, turn," with derivatives referring to twisting, also to boring, drilling, piercing; and to the rubbing of cereal grain to remove the husks, and thus to threshing.
It forms all or part of: atresia; attorn; attorney; attrition; contour; contrite; detour; detriment; diatribe; drill (v.) "bore a hole;" lithotripsy; return; septentrion; thrash; thread; thresh; throw; threshold; trauma; trepan; tribadism; tribology; tribulation; trite; triticale; triturate; trout; trypsin; tryptophan; turn.
It is the hypothetical source of/evidence for its existence is provided by: Sanskrit turah "wounded, hurt;" Greek teirein "to rub, rub away;" Latin terere "to rub, thresh, grind, wear away," tornus "turning lathe;" Old Church Slavonic tiro "to rub;" Lithuanian trinu, trinti "to rub," Old Irish tarathar "borer," Welsh taraw "to strike."
Old English wryhta, wrihta (Northumbrian wyrchta, Kentish werhta) "worker," variant of earlier wyhrta "maker," from wyrcan "to work" (see work (v.)). Now usually in combinations (wheelwright, playwright, etc.) or as a surname. A common West Germanic word; cognate with Old Saxon wurhito, Old Frisian wrichta, Old High German wurhto.
Others are reading
The feverish patient thrashed around in his bed
The system is thrashing again!