ThreadState of a background Thread

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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.
 
Hmm... 12 means "unstarted background thread", did you call Start on the
thread object?

Willy.
 
Back
Top