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

Function convertToTaskThread

threadtasks_test.go:35–42  ·  view source on GitHub ↗
(thread *phpThread)

Source from the content-addressed store, hash-verified

33}
34
35func convertToTaskThread(thread *phpThread) *taskThread {
36 handler := &taskThread{
37 thread: thread,
38 execChan: make(chan *task),
39 }
40 thread.setHandler(handler)
41 return handler
42}
43
44func (handler *taskThread) beforeScriptExecution() string {
45 thread := handler.thread

Callers 1

testOnDummyPHPThreadFunction · 0.85

Calls 1

setHandlerMethod · 0.80

Tested by

no test coverage detected