Friday, May 19, 2006

A Context-Bound Thread Queuer

Avner Kashtan has posited a wonderful class that lets you bind operational contexts of any kind to the another thread via the ThreadPool.QueueUserWorkItem. This makes it really easy to store away contextual information (like a WCF OperationContext) that is then used during the pooled-thread's execution of the work item. Read on [here]

No comments: