The Xinu mechanism for context switching and scheduling consists of three components, which are described below.