43 switch (fThread.GetState())
45 case TThread::kInvalidState:
46 return "Invalid - thread was not created properly";
47 case TThread::kNewState:
48 return "New - thread object exists but hasn't started";
49 case TThread::kRunningState:
50 return "Running - thread is running";
51 case TThread::kTerminatedState:
52 return "Terminated - thread has terminated but storage has not yet been reclaimed (i.e. waiting to be joined)";
53 case TThread::kFinishedState:
54 return "Finished - thread has finished";
55 case TThread::kCancelingState:
56 return "Canceling - thread in process of canceling";
57 case TThread::kCanceledState:
58 return "Canceled - thread has been canceled";
59 case TThread::kDeletingState:
60 return "Deleting - thread in process of deleting";
TString GetThreadStateStr() const