April 30, 2020
4:15 a.m.
On Wed, Apr 29, 2020, 22:05 Greg Ewing <greg.ewing@canterbury.ac.nz> wrote:
Furthermore, IMHO "release" is better at communicating the per-interpreter nature than "close".
Channels are a similar enough concept to pipes that I think it would be confusing to have "close" mean "close for all interpreters". Everyone understands that "closing" a pipe only means you're closing your reference to one end of it, and they will probably assume closing a channel means the same.
FWIW, I'd compare channels more closely to queues than to pipes. -eric