On Thu, Sep 27, 2012 at 4:44 PM, Jerry Worthey <
jwor...@gmail.com> wrote:
> If the output channel is not buffered, then once the goroutine can put it on
> the output channel, you know something has read it, so the file can be
> deleted. Say there are 1,000 elements in the input channel, you are only
> ever saving one of them as your goroutine is waiting for the output channel.
> If the application crashes, everything on the input channel will be lost.
>
> Please correct me if I'm misunderstanding your solution...
have buffered channels, but unbuffered channels. Kyle Lemons's iq