0

Can I hook a method to ASP.NET threadpool thread exit ?

Would like to clean up resources after each thread is terminated.

IIS8.0 and above. Windows 2012R2 and above.

Lydon Ch
  • 8,637
  • 20
  • 79
  • 132
  • this might be a good read [Link](https://stackoverflow.com/questions/12304691/why-are-iis-threads-so-precious-as-compared-to-regular-clr-threads) – Jephren Naicker Jan 30 '19 at 04:50
  • potentially need to hook into Windows C++ api, https://stackoverflow.com/questions/3802244/hooking-thread-creation-termination haven't found any clue how to do this from Managed code – Lydon Ch Feb 01 '19 at 07:02

0 Answers0