Summary
In this chapter, we’ve discussed the various threading models that can be applied to your application, why you should use them, and how to implement them. You should now be confident in your knowledge of the following:
-
Different types of basic threading models, such as STA and MTA apartments
-
How to specify the threading model
-
The different models of threads that can be applied and their relationships to each other
This chapter will help you design your threaded application because the application will fit into one or more of the models; the code examples given will also help you to build the code you need. With the .NET Framework, threads are far more powerful, but also far more prone to errors than they used to be. By being aware of which model your application fits into, you can look out for these potential errors.
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). Threading Models. In: Pro .NET 1.1 Remoting, Reflection, and Threading. Apress. https://doi.org/10.1007/978-1-4302-0025-3_16
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0025-3_16
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)