MCPcopy 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
24func newTask(cb func()) *task {
25 t := &task{callback: cb}
26 t.done.Lock()
27
28 return t
29}
30
31func (t *task) waitForCompletion() {
32 t.done.Lock()

Callers 1

testOnDummyPHPThreadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected