Summary
This chapter outlined a wide range of important threading topics. The chapters began with the basics of multitasking and how it is accomplished by using threads and then moved on to discuss the differences between multitasking and free threading. Next, it considered processes and how they isolate data from other applications, before looking at the function of threads in an operating system such as Windows. You now know that Windows interrupts threads to grant execution time to other threads for a brief period called a time slice or a quantum and what implications this has for program execution as a whole. You’ve learned the function of thread priorities and the different levels of these priorities, and also that threads will inherit their parent process’s priority by default.
This chapter also described how the .NET runtime monitors threads created in the .NET environment and additionally any unmanaged threads that execute managed code. You learned about the support for threading in the .NET Framework and how the System. AppDomain class provides an additional layer of logical data isolation on top of the physical process data isolation. The chapter has looked at how threads can cross easily from one AppDomain to another. Finally, you learned how an AppDomain doesn’t necessarily have its own thread as all processes do.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2005 Tobin Titus, Syed Fahad Gilani, Mike Gillespie, James Hart, Benny K. Mathew, Andy Olsen, David Curran, Jon Pinnock, Robin Pars, Fabio Claudio Ferracchiati, Sandra Gopikrishna, Tejaswi Redkar, Srinivasa Sivakumar
About this chapter
Cite this chapter
(2005). Defining Threads. In: Pro .NET 1.1 Remoting, Reflection, and Threading. Apress. https://doi.org/10.1007/978-1-4302-0025-3_13
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0025-3_13
Publisher Name: Apress
Print ISBN: 978-1-59059-452-0
Online ISBN: 978-1-4302-0025-3
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)