Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

windows endless.go:64:11: undefined: syscall.SIGUSR1 #62

Open
fmyxyz opened this issue Apr 28, 2022 · 1 comment
Open

windows endless.go:64:11: undefined: syscall.SIGUSR1 #62

fmyxyz opened this issue Apr 28, 2022 · 1 comment

Comments

@fmyxyz
Copy link

fmyxyz commented Apr 28, 2022

PS C:\Users\xxx\Workspace\xxx-xxx> go env
set GO111MODULE=
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\xxx\AppData\Local\go-build
set GOENV=C:\Users\xxx\AppData\Roaming\go\env
set GOEXE=.exe
set GOEXPERIMENT=
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=
set GOMODCACHE=C:\Users\xxx\go\pkg\mod
set GONOPROXY=.corp.example.com
set GONOSUMDB=
.corp.example.com
set GOOS=windows
set GOPATH=C:\Users\xxx\go
set GOPRIVATE=*.corp.example.com
set GOPROXY=https://proxy.golang.com.cn,direct
set GOROOT=C:\Program Files\Go
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLDIR=C:\Program Files\Go\pkg\tool\windows_amd64
set GOVCS=
set GOVERSION=go1.18.1
set GCCGO=gccgo
set GOAMD64=v1
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=C:\Users\xxx\Workspace\xxx-xxx\go.mod
set GOWORK=
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0 -fdebug-prefix-map=C:\Users\xxx\AppData\Local\Temp\go-build219240513=/tmp/go-build -gno-record-gcc-switches

@FatalReadError
Copy link

This repo hasn't been updated since 2016 with 13 outstanding pull requests, so unfortunately this issue is unlikely to be resolved. Perhaps you could look at other Golang graceful restarts libraries, or just remove the offending signal(s) from that list (if that's the only issue).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants