Etymology
From Middle English menewhile, equivalent to mean (“intermediate”) + while. Adverb is by ellipsis from in the mean while, noun being conventionally written as one word after the adjective.
Definitions & examples from Wiktionary (CC BY-SA 3.0).