Skip to Content
.NET Common Language Runtime Unleashed
book

.NET Common Language Runtime Unleashed

by Kevin Burton
April 2002
Intermediate to advanced content levelIntermediate to advanced
1024 pages
23h 26m
English
Sams
Content preview from .NET Common Language Runtime Unleashed

Summary

This chapter has given you a flavor for the services that the CLR offers with regards to threading. This chapter has really been a showcase for the kinds of tasks that the CLR allows you to do. In closing, following are some tips and advice on multithreaded applications:

  • Benchmark—Before starting any multithreaded application, make sure you are aware of the resources that are involved. Spinning many threads might actually degrade your application performance. Consider the ThreadPool. Many of the performance gains that come from using this class are because handing out Threads to perform work is so miserable as compared to an application that starts up 100 or so Threads, where each Thread must synchronize with the others and a context ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Customizing the Microsoft® .NET Framework Common Language Runtime

Customizing the Microsoft® .NET Framework Common Language Runtime

Steven Pratschner

Publisher Resources

ISBN: 0672321246Purchase book