Brian

Thanks for advice. I’ll take a look

— P

> On Jan 16, 2021, at 5:23 PM, golang-nuts@googlegroups.com wrote:
> 
> Brian Candler <b.cand...@pobox.com <mailto:b.cand...@pobox.com>>: Jan 16 
> 01:02PM -0800 
> 
> On Saturday, 16 January 2021 at 16:28:59 UTC Pete Wilson wrote:
>  
> > In short, what I want to do is to have a controller goroutine (main) plus 
> > some number of worker goroutines
>  
> This doesn't answer your question, but if you haven't seen it already I 
> recommend this video about concurrency patterns in go:
> https://www.youtube.com/watch?v=5zXAHh5tJqQ 
> <https://www.youtube.com/watch?v=5zXAHh5tJqQ>
> 
> All of it is well worth watching, but an example of using a semaphore 
> channel instead of a worker pool starts at 32:15.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/D39475F5-A68B-4B74-B7B1-330835A305BB%40gmail.com.

Reply via email to