MCPcopy Index your code
hub / github.com/php/frankenphp / IsInWaitingState

Method IsInWaitingState

internal/state/state.go:206–208  ·  view source on GitHub ↗

IsInWaitingState returns true if a thread is waiting for a request or shutdown

()

Source from the content-addressed store, hash-verified

204
205// IsInWaitingState returns true if a thread is waiting for a request or shutdown
206func (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
211func (ts *ThreadState) WaitTime() int64 {

Callers 1

threadDebugStateFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected