Module overwriting-buffer
- Generic N-place overwriting buffer
Generic N-place overwriting buffer. To use this in your code, you'll need to provide a definition of the data type ITEM
and then #INCLUDE "overwriting-buffer.inc"
. You can use channel retyping to connect it to existing channels.
Index
-
Process
overwriting.buffer
- The buffer process
Declarations
overwriting-buffer.inc
:28Process overwriting.buffer
INLINE PROC overwriting.buffer (CHAN ITEM in?, out!, CHAN BOOL kill?, VAL INT size)
The buffer process.