Jason Gregory dedicates several pages to discussing the different formulations of a game loop, including how some games take better advantage of multi-core CPUs. There are also many excellent references online for the various libraries used; for example, the SDL API reference is handy.
Gregory, Jason. Game Engine Architecture, 2nd edition. Boca Raton: CRC Press, 2014.
SDL API Reference. https://wiki.libsdl.org/APIByCategory. Accessed June 15, 2016.