On Fri, Nov 29, 2019 at 6:21 PM Liam wrote:
> Does atomic.AddInt32(&x, 1) always yield unique values for concurrent
> callers?
>
> I'm guessing not, because (I think) I'm seeing that two callers get x+2,
> neither gets x+1.
>
That shouldn't happen, AFAICT. Can you share the code where the incorr
On Fri, Nov 29, 2019 at 7:21 PM Liam wrote:
>
> Does atomic.AddInt32(&x, 1) always yield unique values for concurrent callers?
>
> I'm guessing not, because (I think) I'm seeing that two callers get x+2,
> neither gets x+1.
That should not happen, afaik. Do you have code you can share?
>
> Is t
Does atomic.AddInt32(&x, 1) always yield unique values for concurrent
callers?
I'm guessing not, because (I think) I'm seeing that two callers get x+2,
neither gets x+1.
Is there a way to generate unique values with pkg atomic, or is a mutex
required?
--
You received this message because you
Hello,
while looking into how alpine linux builds golang I've found that is
patches it to make -buildmode=pie the default. I've tried to find why. I've
managed to find this thread
https://groups.google.com/forum/#!searchin/golang-nuts/pie|sort:date/golang-nuts/Jd9tlNc6jUE/Z9ldF6vPEAAJ
Hello! I recently want to use gollvm to analyse code. However I met a
problem after I get the llvm ir whith the instructions shown in gollvm
official doc * I can not exec the .ll file by lli command*
zty@zty-server:~/go-projects/sr
HI Alexandre Cesaro.
Whenever i use your package inside docker. I get connection refused error.
Can you please check it out?
On Wednesday, 28 October 2015 02:36:24 UTC+7, Alexandre Cesaro wrote:
>
> I know there are plenty Go StatsD clients but there were always something
> that bothered me: A