Try it out :) seems like a simple enough test program to write.
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to golang-nuts+unsubscr...@googlegroups.com.
For
On 21/08/2016 21:51, Jan Mercl wrote:
On Sun, Aug 21, 2016, 22:43 Steven Hartland > wrote:
If I have multiple goroutines reading from a channel are they
guaranteed to be FIFO i.e. is the handler that requested the read
first
On Sun, Aug 21, 2016, 22:43 Steven Hartland wrote:
> If I have multiple goroutines reading from a channel are they guaranteed
> to be FIFO i.e. is the handler that requested the read first guaranteed to
> get the first value, second to get the second and so on?
>
> Values
No. See what a select statement says about order when multiple cases are
choosable: not defined, and the implementation guarantees uniform randomness
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop
If I have multiple goroutines reading from a channel are they guaranteed
to be FIFO i.e. is the handler that requested the read first guaranteed
to get the first value, second to get the second and so on?
Regards
Steve
--
You received this message because you are subscribed to the