Dividing C++ Programs into Multiple Threads

Threads can be thought of as lightweight processes, offering many of the advantages of processes without the communication requirements that separate processes require. Threads provide a means to divide the main flow of control into multiple, concurrently executing flows of control. This sample chapter will teach you how to “think multitasking” — and improve your apps in the process.