Introduction
Multithreading can be your biggest problem if you cannot handle it with care. In this chapter, we will discuss some of the main techniques to handle single or multiple background threads. We'll talk about shared resources synchronization and thread-safe queues and events. Multithreaded programming is a huge topic. So, after reading this chapter, although you will not become a master of it, you will surely be able to approach the concept of multithreaded programming with confidence and will have the basics to jump on to more specific stuff when (and if) you require them.