Threads Versus Processes

In this section, we briefly consider some of the factors that might influence our choice of whether to implement an application as a group of threads or as a group of processes. We begin by considering the advantages of a multithreaded approach:

Using threads can have some disadvantages compared to using processes:

The following are some other points that may influence our choice of threads versus processes: