The sanctum of the second mate, carpenters, coopers, boatswain, and all secondary officers.
Quarter-deck, the sanctum of the captain and superior officers. In a gun-decked ship, it is the deck below the spar-deck, extending from the mainmast to the cabin bulk-heads.
Source: Dictionary of Phrase and Fable, E. Cobham Brewer, 1894
More on Half-deck from Fact Monster: