package signal

import "github.com/dotcloud/docker/pkg/signal"

Index

Constants

const SIGCHLD = syscall.SIGCHLD

Signals used in api/client (no windows equivalent, use invalid signals so they don't get handled)

const SIGWINCH = syscall.SIGWINCH

Variables

var SignalMap = map[string]syscall.Signal{}

Functions

func CatchAll

func CatchAll(sigc chan os.Signal)

func DumpStacks

func DumpStacks()

func StopCatch

func StopCatch(sigc chan os.Signal)

func Trap

func Trap(cleanup func())

Trap sets up a simplified signal "trap", appropriate for common behavior expected from a vanilla unix command-line tool in general (and the Docker engine in particular).

Source Files

signal.go signal_unix.go signal_unsupported.go trap.go

Version
v1.7.1-rc1
Published
Jul 2, 2015
Platform
js/wasm
Imports
6 packages
Last checked
5 seconds ago

Tools for package owners.