- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ExampleNotify (0.1 sec)
-
src/os/signal/example_test.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package signal_test import ( "fmt" "os" "os/signal" ) func ExampleNotify() { // Set up channel on which to send signal notifications. // We must use a buffered channel or risk missing the signal // if we're not ready to receive when the signal is sent. c := make(chan os.Signal, 1)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 01 18:38:23 UTC 2017 - 1001 bytes - Viewed (0)