HomeSort by relevance Sort by last modified time
    Searched full:signal (Results 276 - 300 of 12319) sorted by null

<<11121314151617181920>>

  /prebuilts/go/linux-x86/misc/cgo/test/
setgid_linux.go 18 "os/signal"
44 // Now try it again after using signal.Notify.
45 signal.Notify(make(chan os.Signal, 1), syscall.SIGINT)
47 t.Error("setgid hung after signal.Notify")
  /prebuilts/go/linux-x86/misc/cgo/testcshared/src/libgo5/
libgo5.go 11 "os/signal"
17 var sigioChan chan os.Signal
22 sigioChan = make(chan os.Signal, 1)
23 signal.Notify(sigioChan, syscall.SIGIO)
29 signal.Reset(syscall.SIGIO)
  /prebuilts/go/linux-x86/src/runtime/
sigqueue_plan9.go 5 // This file implements runtime support for signal handling.
35 // It is not allowed to allocate memory in the signal handler.
73 // Called from sighandler to send a signal back out of the signal handling thread.
74 // Reports whether the signal was sent. If not, the caller typically crashes the program.
80 // Add signal to outgoing queue.
95 // Called to receive the next queued signal.
97 //go:linkname signal_recv os/signal.signal_recv
113 // signalWaitUntilIdle waits until the signal delivery mechanism is idle.
114 // This is used to ensure that we do not drop a signal notification du
    [all...]
sigqueue.go 5 // This file implements runtime support for signal handling.
8 // the signal handler (it cannot block, allocate memory, or use locks)
12 // sigsend is called by the signal handler to queue a new signal.
13 // signal_recv is called by the Go program to receive a newly queued signal.
36 // sig handles communication between the signal handler and os/signal.
40 // a time; access is controlled by the handlers Mutex in os/signal.
41 // The fields are only read by that one goroutine and by the signal handler.
43 // in the goroutine calling os/signal and the signal handler
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/subprocessdata/
sigchild_ignore.py 1 import signal, subprocess, sys, time
5 signal.signal(signal.SIGCHLD, signal.SIG_IGN)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/subprocessdata/
sigchild_ignore.py 1 import signal, subprocess, sys, time
5 signal.signal(signal.SIGCHLD, signal.SIG_IGN)
  /external/libbrillo/brillo/dbus/
dbus_signal.h 22 // Base class for D-Bus signal proxy classes.
33 bool SendSignal(dbus::Signal* signal) const;
44 // DBusSignal<...> is a concrete signal proxy class that knows about the
45 // exact number of signal arguments and their types.
53 // DBusSignal<...>::Send(...) dispatches the signal with the given arguments.
55 dbus::Signal signal(interface_name_, signal_name_);
56 dbus::MessageWriter signal_writer(&signal);
58 return SendSignal(&signal);
    [all...]
dbus_signal_handler.h 20 // C++ signal handler with expected signal parameters as native method args.
22 // brillo::dbus_utils::ConnectToSignal() actually registers a stub signal
26 // When a D-Bus signal is emitted, the stub handler is invoked, which unpacks
27 // the expected parameters from dbus::Signal message and then calls
30 // If the signal message doesn't contain correct number or types of arguments,
31 // an error message is logged to the system log and the signal is ignored
40 // Raw signal handler stub method. When called, unpacks the signal arguments
41 // from |signal| message buffer and redirects the call t
    [all...]
  /external/libunwind/doc/
unw_is_signal_frame.man 16 \-\- check if current frame is a signal frame
34 is a signal frame, and a
35 value of 0 otherwise. For the purpose of this discussion, a signal
38 frames are normally created by the kernel when delivering a signal.
39 In a kernel\-environment, a signal frame might, for example, correspond
42 Signal frames are somewhat unusual because the asynchronous nature of
51 positive value if the current frame is a signal frame, or 0 if it is
55 .SH THREAD AND SIGNAL SAFETY
60 from a signal handler.
69 whether or not the current frame is a signal frame.
    [all...]
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/killpg/
1-1.c 8 * Test that the killpg() function shall send signal sig to the process
11 * 1. Set up a signal handler for the signal that says we have caught the
12 * signal.
13 * 2. Call killpg on the current process group id, raising the signal.
14 * 3. If signal handler was called, test passed.
21 #include <signal.h>
31 printf("Caught signal being tested!\n");
58 printf("Could not raise signal being tested\n");
62 printf("Should have exited from signal handler\n")
    [all...]
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaddset/
1-3.c 10 * Test that sigaddset() will add all defined signal numbers to a signal
14 * 1) Initialize an empty signal set.
15 * For each signal number:
16 * 2) Add the signal to the empty signal set.
17 * 3) Verify that the signal is a member of the signal set.
20 #include <signal.h>
46 printf("Signal %d wasn't added \n", sigs[i])
    [all...]
1-1.c 10 * Test that sigaddset() will add signo to the set signal set.
12 * 1) Initialize an empty or full signal set.
13 * 2) Add the SIGALRM signal to the empty signal set.
14 * 3) Verify that SIGALRM is a member of the signal set.
17 #include <signal.h>
31 printf("Test PASSED: sigaddset added signal\n");
1-2.c 10 * Test that sigaddset() will add signo to the set signal set.
12 * 1) Initialize an empty or full signal set.
13 * 2) Add the SIGALRM signal to the empty signal set.
14 * 3) Verify that SIGALRM is a member of the signal set.
17 #include <signal.h>
31 printf("Test PASSED: sigaddset added signal\n");
4-1.c 9 * After invalid signal set, sigaddset() should return -1 and set
12 * 1) Initialize an empty signal set.
13 * 2) Add the invalid signal to the empty signal set.
14 * 3) Verify that -1 is returned, the invalid signal is not a member of
15 * the signal set, and errno is set to indicate the error.
18 #include <signal.h>
  /prebuilts/go/darwin-x86/src/os/signal/
doc.go 6 Package signal implements access to incoming signals.
21 synchronous signal into a run-time panic.
27 Of the asynchronous signals, the SIGHUP signal is sent when a program
28 loses its controlling terminal. The SIGINT signal is sent when the
30 which by default is ^C (Control-C). The SIGQUIT signal is sent when
38 By default, a synchronous signal is converted into a run-time panic. A
39 SIGHUP, SIGINT, or SIGTERM signal causes the program to exit. A
40 SIGQUIT, SIGILL, SIGTRAP, SIGABRT, SIGSTKFLT, SIGEMT, or SIGSYS signal
42 SIGTTOU signal gets the system default behavior (these signals are
43 used by the shell for job control). The SIGPROF signal is handle
221 package signal package
    [all...]
  /prebuilts/go/linux-x86/src/os/signal/
doc.go 6 Package signal implements access to incoming signals.
21 synchronous signal into a run-time panic.
27 Of the asynchronous signals, the SIGHUP signal is sent when a program
28 loses its controlling terminal. The SIGINT signal is sent when the
30 which by default is ^C (Control-C). The SIGQUIT signal is sent when
38 By default, a synchronous signal is converted into a run-time panic. A
39 SIGHUP, SIGINT, or SIGTERM signal causes the program to exit. A
40 SIGQUIT, SIGILL, SIGTRAP, SIGABRT, SIGSTKFLT, SIGEMT, or SIGSYS signal
42 SIGTTOU signal gets the system default behavior (these signals are
43 used by the shell for job control). The SIGPROF signal is handle
221 package signal package
    [all...]
  /external/python/cpython2/Doc/library/
signal.rst 2 :mod:`signal` --- Set handlers for asynchronous events
5 .. module:: signal
9 This module provides mechanisms to use signal handlers in Python. Some general
12 * A handler for a particular signal, once set, remains installed until it is
20 * Although Python signal handlers are called asynchronously as far as the Python
26 * When a signal arrives during an I/O operation, it is possible that the I/O
27 operation raises an exception after the signal handler returns. This is
31 * Because the C signal handler always returns, it makes little sense to catch
34 * Python installs a small number of signal handlers by default: :const:`SIGPIPE`
41 simultaneously is: always perform :func:`signal` operations in the main threa
    [all...]
  /external/python/cpython3/Doc/library/
signal.rst 1 :mod:`signal` --- Set handlers for asynchronous events
4 .. module:: signal
9 This module provides mechanisms to use signal handlers in Python.
15 The :func:`signal.signal` function allows defining custom handlers to be
16 executed when a signal is received. A small number of default handlers are
21 A handler for a particular signal, once set, remains installed until it is
27 Execution of Python signal handlers
30 A Python signal handler does not get executed inside the low-level (C) signal
    [all...]
  /art/test/115-native-bridge/
expected.txt 64 NB signal handler with signal 11.
65 NB signal handler with signal 4.
66 NB signal handler with signal 11.
67 NB signal handler with signal 4.
76 NB signal handler with signal 11
    [all...]
  /prebuilts/go/darwin-x86/src/runtime/
sigqueue.go 5 // This file implements runtime support for signal handling.
8 // the signal handler (it cannot block, allocate memory, or use locks)
12 // sigsend is called by the signal handler to queue a new signal.
13 // signal_recv is called by the Go program to receive a newly queued signal.
36 // sig handles communication between the signal handler and os/signal.
40 // a time; access is controlled by the handlers Mutex in os/signal.
41 // The fields are only read by that one goroutine and by the signal handler.
43 // in the goroutine calling os/signal and the signal handler
    [all...]
  /device/linaro/bootloader/edk2/StdLib/Include/
signal.h 6 For historical reasons; programs expect signal to be declared
7 in <sys/signal.h>. The signal function is documented in <sys/signal.h>.
9 The signal function is declared in the C Standard as:<BR>
10 void (*signal(int sig, void (*func)(int)))(int);
27 #include <sys/signal.h>
33 This, possibly machine specific, type is defined in <machine/signal.h>.
39 return value of, the signal function, and whose values compare unequal to
49 type int and distinct values that are the signal numbers, each
    [all...]
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigwait/
assertions.xml 3 The sigwait() function shall select a pending signal from 'set', automatically
4 clear it from the system's pending signals, and return that signal number in
9 single signal number (and it is implementation-defined that the signal number
10 supports queued signals), then the first such queued signal shall cause a
15 single signal number (and it is implementation-defined that the signal number
17 signals for that signal number.
20 If no signal in 'set' is pending at the time of the call, the thread shall
26 the signal actions for the signals in 'set' is unspecified
    [all...]
  /external/libevent/sample/
signal-test.c 3 * cc -I/usr/local/include -o signal-test \
4 * signal-test.c -L/usr/local/lib -levent
20 #include <signal.h>
34 struct event *signal = arg; local
36 printf("signal_cb: got signal %d\n", event_get_signal(signal));
39 event_del(signal);
  /external/linux-kselftest/tools/testing/selftests/powerpc/tm/
Makefile 2 SIGNAL_CONTEXT_CHK_TESTS := tm-signal-context-chk-gpr tm-signal-context-chk-fpu \
3 tm-signal-context-chk-vmx tm-signal-context-chk-vsx
5 TEST_GEN_PROGS := tm-resched-dscr tm-syscall tm-signal-msr-resv tm-signal-stack \
23 $(SIGNAL_CONTEXT_CHK_TESTS): tm-signal.S
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/signal/
1-1.c 9 signal shall occur if the value of the func parameter is SIG_DFL.
12 "myhandler" for SIGCHLD. Then another call to signal() is made about
20 #include <signal.h>
35 if (signal(SIGCHLD, myhandler) == SIG_ERR) {
36 perror("Unexpected error while using signal()");
40 if (signal(SIGCHLD, SIG_DFL) != myhandler) {
41 perror("Unexpected error while using signal()");

Completed in 1135 milliseconds

<<11121314151617181920>>