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

Function detachRegularThread

threadregular.go:191–200  ·  view source on GitHub ↗
(thread *phpThread)

Source from the content-addressed store, hash-verified

189}
190
191func detachRegularThread(thread *phpThread) {
192 regularThreadMu.Lock()
193 for i, t := range regularThreads {
194 if t == thread {
195 regularThreads = append(regularThreads[:i], regularThreads[i+1:]...)
196 break
197 }
198 }
199 regularThreadMu.Unlock()
200}

Callers 1

beforeScriptExecutionMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected