1 Star 0 Fork 0

peter / fabric

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
signals.go 360 Bytes
Copy Edit Raw Blame History
// +build !windows
/*
Copyright IBM Corp. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
package node
import (
"os"
"syscall"
"github.com/hyperledger/fabric/common/diag"
)
func addPlatformSignals(sigs map[os.Signal]func()) map[os.Signal]func() {
sigs[syscall.SIGUSR1] = func() { diag.LogGoRoutines(logger.Named("diag")) }
return sigs
}

Comment ( 0 )

Sign in for post a comment

1
https://gitee.com/peter_code_git/fabric.git
git@gitee.com:peter_code_git/fabric.git
peter_code_git
fabric
fabric
v1.4.7

Search