[go-nuts] Why doesn't sync.Cond embed sync.Locker?

2017-11-12 Thread T L
.

-- 
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 more options, visit https://groups.google.com/d/optout.


Re: [go-nuts] Why doesn't sync.Cond embed sync.Locker?

2017-11-13 Thread 'Thomas Bushnell, BSG' via golang-nuts
Sometimes you want multiple Conds which share the same Locker. When you
want it, it's frequently essential and very annoying if you can't have it.

On Sun, Nov 12, 2017 at 7:02 PM T L  wrote:

> .
>
> --
> 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 more options, visit https://groups.google.com/d/optout.
>

-- 
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 more options, visit https://groups.google.com/d/optout.


Re: [go-nuts] Why doesn't sync.Cond embed sync.Locker?

2017-11-13 Thread T L


On Monday, November 13, 2017 at 10:10:22 AM UTC-5, Thomas Bushnell, BSG 
wrote:
>
> Sometimes you want multiple Conds which share the same Locker. When you 
> want it, it's frequently essential and very annoying if you can't have it.
>

Embedding doesn't prevent this.

I ask this question is for I think embedding will may code a little pretty. 
:)
 

>
> On Sun, Nov 12, 2017 at 7:02 PM T L > 
> wrote:
>
>> .
>>
>> -- 
>> 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...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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 more options, visit https://groups.google.com/d/optout.