about ThreadState

  • Thread starter Thread starter Tony Johansson
  • Start date Start date
T

Tony Johansson

Hello!

There is one state in the Enumeration ThreadState that is called Background
which I don't
consider a state. I mean if you have a thread that is a Background and is
running then you have two states.
All the other states in ThreadState is more valid as a state. So if you have
Background as a state why not also have foreground as a state.

So does anyone agree with me that have Background as a state in the
ThreadState enum sound strange ?

//Tony
 
Tony Johansson said:
Hello!

There is one state in the Enumeration ThreadState that is called
Background which I don't
consider a state. I mean if you have a thread that is a Background and is
running then you have two states.

Which is possible, because this is a flags enumeration.
 
Back
Top