Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/php/frankenphp
/ Get
Method
Get
internal/state/state.go:120–126 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
118
}
119
120
func
(ts *ThreadState) Get() State {
121
ts.mu.RLock()
122
id := ts.currentState
123
ts.mu.RUnlock()
124
125
return
id
126
}
127
128
func
(ts *ThreadState) Set(nextState State) {
129
ts.mu.Lock()
Callers
15
Name
Method · 0.95
TestScaleARegularThreadUpAndDown
Function · 0.80
TestScaleAWorkerThreadUpAndDown
Function · 0.80
TestMaxIdleTimePreventsEarlyDeactivation
Function · 0.80
testHeaders
Function · 0.80
testInput
Function · 0.80
testSession
Function · 0.80
testEarlyHints
Function · 0.80
TestSessionHandlerReset_worker
Function · 0.80
TestSessionHandlerPreLoopPreserved_worker
Function · 0.80
TestSessionNoLeakBetweenRequests_worker
Function · 0.80
TestSessionNoLeakAfterExit_worker
Function · 0.80
Calls
no outgoing calls
Tested by
15
TestScaleARegularThreadUpAndDown
Function · 0.64
TestScaleAWorkerThreadUpAndDown
Function · 0.64
TestMaxIdleTimePreventsEarlyDeactivation
Function · 0.64
testHeaders
Function · 0.64
testInput
Function · 0.64
testSession
Function · 0.64
testEarlyHints
Function · 0.64
TestSessionHandlerReset_worker
Function · 0.64
TestSessionHandlerPreLoopPreserved_worker
Function · 0.64
TestSessionNoLeakBetweenRequests_worker
Function · 0.64
TestSessionNoLeakAfterExit_worker
Function · 0.64
beforeScriptExecution
Method · 0.64