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

Function go_frankenphp_on_thread_shutdown

phpthread.go:263–271  ·  view source on GitHub ↗

export go_frankenphp_on_thread_shutdown

(threadIndex C.uintptr_t)

Source from the content-addressed store, hash-verified

261
262//export go_frankenphp_on_thread_shutdown
263func go_frankenphp_on_thread_shutdown(threadIndex C.uintptr_t) {
264 thread := phpThreads[threadIndex]
265 thread.Unpin()
266 if thread.state.Is(state.Rebooting) {
267 thread.state.Set(state.RebootReady)
268 } else {
269 thread.state.Set(state.Done)
270 }
271}

Callers

nothing calls this directly

Calls 2

IsMethod · 0.80
SetMethod · 0.80

Tested by

no test coverage detected