IsInWaitingState returns true if a thread is waiting for a request or shutdown
()
| 204 | |
| 205 | // IsInWaitingState returns true if a thread is waiting for a request or shutdown |
| 206 | func (ts *ThreadState) IsInWaitingState() bool { |
| 207 | return ts.waitingSince.Load() != 0 |
| 208 | } |
| 209 | |
| 210 | // WaitTime returns the time since the thread is waiting in a stable state in ms |
| 211 | func (ts *ThreadState) WaitTime() int64 { |