On Tuesday, October 11, 2016 at 10:37:55 PM UTC+8, Ian Lance Taylor wrote:
>
> On Tue, Oct 11, 2016 at 7:29 AM, T L <[email protected] <javascript:>> 
> wrote: 
> > More specifically, if I want to make the read/write of a pointer value 
> > atomically, 
> > then must the pointer value be defined as a value of type 
> unsafe.Pointer? 
>
> Yes. 
>
> Ian 
>

Why not define the LoadPointer as a builtin function and make it support 
generic parameter?

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

Reply via email to