O'Reilly logo

Customizing the Microsoft® .NET Framework Common Language Runtime by Steven Pratschner

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 14. Integrating the CLR with Custom Schedulers and Thread Pools

In Chapter 13, I describe how hosting the CLR within Microsoft SQL Server 2005 requires the CLR hosting API to act as an abstraction layer through which the CLR directs all requests to allocate and free memory. In this chapter, I show how the same approach has been taken to enable SQL Server 2005 to supply the basic primitives needed by the CLR to create and manage tasks, manipulate synchronization primitives, and queue work items to a thread pool. The managers that implement these abstractions are the task, synchronization, and thread pool managers.

Integrating how the CLR works with tasks, synchronization primitives, and the thread pool is required to meet the performance ...

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