MCPcopy Create free account
hub / github.com/HashLoad/boss / Enqueue

Method Enqueue

core/compiler/graphs/graph.go:188–192  ·  view source on GitHub ↗
(t Node)

Source from the content-addressed store, hash-verified

186}
187
188func (s *NodeQueue) Enqueue(t Node) {
189 s.lock.Lock()
190 s.items = append(s.items, t)
191 s.lock.Unlock()
192}
193
194func (s *NodeQueue) Dequeue() *Node {
195 s.lock.Lock()

Callers 1

QueueMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected