O'Reilly logo

.NET Common Language Runtime Unleashed by Kevin Burton

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 11. Threading

In This Chapter

Threads grew out of the need to do, or appear to do, many things at the same time. Before threads, the finest granularity at which the OS could schedule was at the process level. Programmers worried about spawning processes and tweaking the priority of processes. Starting up a process incurred much overhead, it was heavy, and communicating between processes was inefficient.

On the Unix platform, fork() and exec() allowed the programmer to split the execution path of a program into two pieces without much of the overhead of starting a new process. Probably most importantly, fork() and exec() allowed a programmer to easily ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required