On Tue, Sep 19, 2017 at 7:22 AM, Art Mellor
<art-googlep...@dontsharemyemail.com> wrote:
>
> I have a program that is working on my Mac reliably, but gives erratic
> results on other  (linux) systems. It maybe something wrong with my code,
> but it not obvious to me at  all what I might have done wrong.

Have you run your program under the race detector?  At a quick glance
it looks like you have races on cmds between the main goroutine and
the signal goroutine.

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