Context Switching on Windows and Linux


I need help in finding resources (books or online articles) that can truly explain in detail how this concept actually works.

Thanks