By the way, the readers of channel must not close a channel. Only writer can
closes it to indicate to reader that channel is closed and nothing can be read
from it. You can let channel opens (there is no resource leak), it will be
garbage collected anyway.
--
You received this message because
Got it! Thanks!
On Friday, December 7, 2018 at 2:34:38 AM UTC-8, rog wrote:
>
> You want to run it concurrently, but you also need the results in order so
> that you can concatenate them together in the right order (I'm assuming).
> Something like this would do the trick:
>
You want to run it concurrently, but you also need the results in order so
that you can concatenate them together in the right order (I'm assuming).
Something like this would do the trick:
https://play.golang.org/p/lMI8rmEBJ-d
On Thu, 6 Dec 2018 at 23:40, Alex Dvoretskiy
wrote:
> Hi Golangnuts,
Hi Golangnuts,
I'm trying to run SignerCrc32() concurently, but instead it runs
sequentially. Can you explain why?
https://play.golang.org/p/l5A3tBSqfs1
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop