Skip to content

os/signal: not all notifications about SIGCHLD are sent #15437

Closed
@noxiouz

Description

@noxiouz
  1. What version of Go are you using (go version)?
go version go1.6.2 darwin/amd64

Also it's cross compiled and tested on Linux

  1. What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/noxiouz/Go"
GORACE=""
GOROOT="/usr/local/go"
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GO15VENDOREXPERIMENT="1"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fno-common"
CXX="clang++"
CGO_ENABLED="1"
  1. What did you do?
    http://play.golang.org/p/lLTgaA8MRo
  2. What did you expect to see?
    Get notification about SIGCHLD from every child
  3. What did you see instead?
    Only 65-72 notifications are sent in average case
sigchld watcher is ready
10 sec without SIGCHLD. Got 72

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions