all groups > dotnet general > november 2004 >
You're in the

dotnet general

group:

ThreadState of a background Thread


ThreadState of a background Thread Ahsan
11/21/2004 11:35:01 PM
dotnet general: 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.
Re: ThreadState of a background Thread Willy Denoyette [MVP]
11/22/2004 11:00:32 AM
Hmm... 12 means "unstarted background thread", did you call Start on the
thread object?

Willy.

[quoted text, click to view]

AddThis Social Bookmark Button