What is the meaning of Ridgepole?

A beam along the ridge of a roof to which the rafters are attached.

A horizontal pole that supports the roof of a ridge tent .

Source: wiktionary.org