I have a goroutine that calls Read() on a socket and blocks until data is
available. Is there a way for a different goroutine to trigger this Read()
call to return? The only techniques I can think of is either polling a flag
via the timeout mechanisms or by closing the socket -- neither option being
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 firstname.lastname@example.org.
For more options, visit https://groups.google.com/groups/opt_out.