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

Function newPHPThread

phpthread.go:52–58  ·  view source on GitHub ↗
(threadIndex int)

Source from the content-addressed store, hash-verified

50}
51
52func newPHPThread(threadIndex int) *phpThread {
53 return &phpThread{
54 threadIndex: threadIndex,
55 requestChan: make(chan contextHolder),
56 state: state.NewThreadState(),
57 }
58}
59
60// boot starts the underlying PHP thread
61func (thread *phpThread) boot() {

Callers 1

initPHPThreadsFunction · 0.85

Calls 1

NewThreadStateFunction · 0.92

Tested by

no test coverage detected