I have created some background threads so that when the application aborts
all the threads should be automatically aborted. But the problem is that when
I make a thread background thread I am unable to correctly find its thread
state as the thread state property always return 12.
If I make the thread foreground the thread state property works just fine.
Please help me in finding the solution.
Willy Denoyette [MVP] - 22 Nov 2004 10:00 GMT
Hmm... 12 means "unstarted background thread", did you call Start on the
thread object?
Willy.
>I have created some background threads so that when the application aborts
> all the threads should be automatically aborted. But the problem is that
[quoted text clipped - 3 lines]
> If I make the thread foreground the thread state property works just fine.
> Please help me in finding the solution.