IHttpAsyncHandler -- Global custom thread pool

B

buzz

I am new to ASP.NET, so perhaps this is problem will yield a simple answer.

I am building an ASP.NET application using asynchronous handlers
(IHttpAsyncHandler). In doing so, it was recommended that I use a
custom thread pool to handle work items that are queued from
BeginProcessRequest.

I am using the famous DevelopMentor custom thread pool written by
Mike Woodring.

My question -- How do I make only one instance of the pool to be used
by multiple handlers? If I add it to global.asax in the
HttpApplicationState.StaticObjects, will there still be multiple
instances created? Or do I just have to make the thread pool class static?

Any help will be very appreciated.

Buzz
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,756
Messages
2,569,533
Members
45,007
Latest member
OrderFitnessKetoCapsules

Latest Threads

Top