Re: [go-nuts] Load balancing with error feedback capabilities

2018-05-19 Thread Ankit Gupta
@Jakob Can you explain it further? Two different instances of ServiceQProperties should each get their own reference of underlying sync.Mutex. So, Lock() and Unlock() should be on different objects. Thanks, Ankit On Saturday, May 19, 2018 at 3:39:40 AM UTC+5:30, Jakob Borg wrote: > > That also

Re: [go-nuts] Load balancing with error feedback capabilities

2018-05-18 Thread Jakob Borg
That also means anyone else can call Lock() and Unlock() on your type. This is often not what you want, unless your type *is* a kind of lock (as opposed to *uses* a lock). On 18 May 2018, at 23:45, matthewju...@gmail.com wrote: By embedding I meant this: type Se