MCPcopy Create free account
hub / github.com/changkun/pkg / S51_BoundedBuffer

Function S51_BoundedBuffer

csp/csp.go:609–636  ·  view source on GitHub ↗

S51_BoundedBuffer implements Section 5.1 Bounded Buffer "Construct a buffering process X to smooth variations in the speed of output of portions by a producer process and input by a consumer process. The consumer contains pairs of commands X!more();X?p, and the producer contains commands of the form

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

TestS51_BoundedBufferFunction · 0.92

Calls

no outgoing calls

Tested by 1

TestS51_BoundedBufferFunction · 0.74