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 ...

Get Customizing the Microsoft® .NET Framework Common Language Runtime now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.