On Tue, Oct 11, 2016 at 8:06 AM, T L <tapir....@gmail.com> wrote:
>
> 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 <tapi...@gmail.com> 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?

As a general rule we want to minimize the number of builtin functions.

Ian

-- 
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.

Reply via email to