The answer to the question - Implement C# Generic Timeout provides a solution which involves aborting a thread-pool thread. I know the consequences of aborting an explicitly created thread. I guess, the consquences of aborting a thread-pool thread would be more than that of aborting explicit threads. I wonder:
- What happens to thread pool thread when it is aborted?
- Does the thread becomes completely unusable?
- Is the stack memory of aborted thread freed?
- What would happen when many thread pool threads are getting aborted? How does the thread pool cope up with such a situation?
Thanks.