Skip to main content
  • 213 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Hardcover Book
USD 54.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Rights and permissions

Reprints 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

Publish with us

Policies and ethics