Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/php/frankenphp
/ newTask
Function
newTask
threadtasks_test.go:24–29 ·
view source on GitHub ↗
(cb func())
Source
from the content-addressed store, hash-verified
22
}
23
24
func
newTask(cb
func
()) *task {
25
t := &task{callback: cb}
26
t.done.Lock()
27
28
return
t
29
}
30
31
func
(t *task) waitForCompletion() {
32
t.done.Lock()
Callers
1
testOnDummyPHPThread
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected