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

Method Is

internal/state/state.go:96–102  ·  view source on GitHub ↗
(state State)

Source from the content-addressed store, hash-verified

94}
95
96func (ts *ThreadState) Is(state State) bool {
97 ts.mu.RLock()
98 ok := ts.currentState == state
99 ts.mu.RUnlock()
100
101 return ok
102}
103
104func (ts *ThreadState) CompareAndSwap(compareTo State, swapTo State) bool {
105 ts.mu.Lock()

Callers 15

shutdownMethod · 0.80
untarFunction · 0.80
drainPHPThreadsFunction · 0.80
getInactivePHPThreadFunction · 0.80
DebugStateFunction · 0.80
waitForWorkerRequestMethod · 0.80
scaleWorkerThreadFunction · 0.80
scaleRegularThreadFunction · 0.80
deactivateThreadsFunction · 0.80

Calls

no outgoing calls