|Portability||non-portable (requires Futures)|
This module implements one-place buffers using futures.
Warning: All operations on buffers should only be used within the global wrapper function
The buffer type contains of 3 cells and a handle. The first 2 cells are for communication of either a put or get is allowed. The thrist cell is the storage cell, the last cell contains a the active handle.
Puts a new value to a buffer.
putBuf blocks if
the buffer is full.