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

Method attachThread

worker.go:252–256  ·  view source on GitHub ↗
(thread *phpThread)

Source from the content-addressed store, hash-verified

250}
251
252func (worker *worker) attachThread(thread *phpThread) {
253 worker.threadMutex.Lock()
254 worker.threads = append(worker.threads, thread)
255 worker.threadMutex.Unlock()
256}
257
258func (worker *worker) detachThread(thread *phpThread) {
259 worker.threadMutex.Lock()

Callers 1

convertToWorkerThreadFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected