Hi

Simple quick question I hope: am I ok to read from the stream object in one 
goroutine and write to it in another without obtaining a mutex lock?

I've found this 
thread: https://groups.google.com/forum/#!topic/grpc-io/aI6L6M4fzQ0 that 
says I can't write from multiple goroutines at once (without a lock)... but 
I wanted to check whether I could write from one goroutine and read from 
another without needing a mutex lock?

I'm fairly new to go and grpc but hopefully this isn't too stupid a 
quesiton. It does seem like the route-guide example is doing this without a 
lock, but I just wanted to double check.

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/d70129d1-c175-47b8-ae04-156ba0ebbf5c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to