/prebuilts/go/linux-x86/src/syscall/ |
syscall_linux_test.go | 14 "os/signal" 117 fmt.Fprintf(os.Stderr, "death signal parent error: %v\n", err) 125 c := make(chan os.Signal, 1) 126 signal.Notify(c, syscall.SIGUSR1)
|
syscall_linux.go | 198 // 0x7F (stopped), or a signal number that caused an exit. 200 // An extra number (exit code, signal causing a stop) 231 func (w WaitStatus) Signal() Signal { 235 return Signal(w & mask) 238 func (w WaitStatus) StopSignal() Signal { 242 return Signal(w>>shift) & 0xFF 740 func PtraceCont(pid int, signal int) (err error) { 741 return ptrace(PTRACE_CONT, pid, 0, uintptr(signal)) 744 func PtraceSyscall(pid int, signal int) (err error) [all...] |
exec_linux.go | 33 Pdeathsig Signal // Signal that the process will get when its parent dies (Linux only) 240 // Parent death signal 247 // Signal self if parent is already dead. This might cause a 248 // duplicate signal in rare cases, but it won't matter when
|
net_nacl.go | 294 q.canRead.Signal() // wake up next reader too 296 q.canWrite.Signal() 321 q.canWrite.Signal() // wake up next writer too 323 q.canRead.Signal()
|
/external/valgrind/drd/tests/ |
tsan_unittest.cpp | 364 // the pair of CV.Signal() and CV.Wait() establish happens-before relation. 372 // /--- d. CV.Signal() 385 CV.Signal(); 502 // d. CV.Signal() 513 CV.Signal(); 552 // /------- d. CV.Signal() 565 CV.Signal(); 627 GLOB = 2; // If LockWhen didn't catch the signal, a race may be reported here. 741 // 3. while(COND != 2) /-------- c. CV.Signal() 755 CV.Signal(); [all...] |
/art/runtime/base/ |
mutex_test.cc | 111 state->cv.Signal(Thread::Current());
|
/art/runtime/ |
thread_pool.cc | 108 // If we have any waiters, signal one. 110 task_queue_condition_.Signal(self);
|
/external/libchrome/base/synchronization/ |
waitable_event_posix.cc | 18 // support cross-process events (where one process can signal an event which 25 // condition variable to signal. 53 void WaitableEvent::Signal() { 192 // of locking order), however, in between the two a signal could be fired 194 // signal would be lost on an auto-reset WaitableEvent. Thus we call 202 // the lock ensures that |Signal| has completed before we return and 297 // By taking this lock here we ensure that |Signal| has completed by the 298 // time we return, because |Signal| holds this lock. This matches the
|
/external/libchrome/base/threading/ |
thread_unittest.cc | 108 // signal |event|. 113 event->Signal();
|
/external/libchrome/dbus/ |
exported_object.cc | 85 void ExportedObject::SendSignal(Signal* signal) { 88 CHECK(signal->SetPath(object_path_)); 91 // underlying signal message until the signal sending is complete. This 93 DBusMessage* signal_message = signal->raw_message(); 157 // Record time spent to send the the signal. This is not accurate as the 158 // signal will actually be sent from the next run of the message loop,
|
/prebuilts/go/darwin-x86/src/runtime/trace/ |
trace_stack_test.go | 118 cv.Signal() 220 {"sync.(*Cond).Signal", 0},
|
/prebuilts/go/linux-x86/src/runtime/trace/ |
trace_stack_test.go | 118 cv.Signal() 220 {"sync.(*Cond).Signal", 0},
|
/prebuilts/go/darwin-x86/src/syscall/ |
syscall_linux.go | 198 // 0x7F (stopped), or a signal number that caused an exit. 200 // An extra number (exit code, signal causing a stop) 231 func (w WaitStatus) Signal() Signal { 235 return Signal(w & mask) 238 func (w WaitStatus) StopSignal() Signal { 242 return Signal(w>>shift) & 0xFF 740 func PtraceCont(pid int, signal int) (err error) { 741 return ptrace(PTRACE_CONT, pid, 0, uintptr(signal)) 744 func PtraceSyscall(pid int, signal int) (err error) [all...] |
exec_linux.go | 33 Pdeathsig Signal // Signal that the process will get when its parent dies (Linux only) 240 // Parent death signal 247 // Signal self if parent is already dead. This might cause a 248 // duplicate signal in rare cases, but it won't matter when
|
net_nacl.go | 294 q.canRead.Signal() // wake up next reader too 296 q.canWrite.Signal() 321 q.canWrite.Signal() // wake up next writer too 323 q.canRead.Signal()
|
/prebuilts/go/darwin-x86/misc/cgo/testcarchive/ |
carchive_test.go | 191 t.Skip("skipping signal test on Windows") 228 t.Skip("skipping signal test on Windows") 264 } else if !ws.Signaled() || ws.Signal() != syscall.SIGSEGV { 278 t.Skip("skipping signal test on Windows") 301 // We want to send the process a signal and see if it dies. 302 // Normally the signal goes to the C thread, the Go signal 305 // signal is delivered to a Go thread, which winds up 333 t.Fatalf("Did not receive OK signal") 339 cmd.Process.Signal(syscall.SIGSEGV [all...] |
/prebuilts/go/linux-x86/misc/cgo/testcarchive/ |
carchive_test.go | 191 t.Skip("skipping signal test on Windows") 228 t.Skip("skipping signal test on Windows") 264 } else if !ws.Signaled() || ws.Signal() != syscall.SIGSEGV { 278 t.Skip("skipping signal test on Windows") 301 // We want to send the process a signal and see if it dies. 302 // Normally the signal goes to the C thread, the Go signal 305 // signal is delivered to a Go thread, which winds up 333 t.Fatalf("Did not receive OK signal") 339 cmd.Process.Signal(syscall.SIGSEGV [all...] |
/build/soong/cmd/javac_wrapper/ |
javac_wrapper.go | 97 exitCode := 128 + int(status.Signal())
|
/external/libunwind/doc/ |
unw_get_proc_info_by_ip.tex | 56 \section{Thread and Signal Safety} 60 safe to use from a signal handler.
|
unw_get_proc_name.tex | 49 \section{Thread and Signal Safety} 53 signal handler.
|
unw_resume.tex | 29 \Var{cp} was interrupted by a signal, then \Func{unw\_resume}() will 30 restore all registers as well as the signal mask. Attempting to call 67 \section{Thread and Signal Safety} 70 local address-space, this routine is also safe to use from a signal
|
/frameworks/native/libs/vr/libpdx_uds/ |
ipc_helper_tests.cpp | 130 TEST_F(SendTest, Signal) { 184 TEST_F(RecvTest, Signal) {
|
/prebuilts/go/darwin-x86/src/runtime/ |
signal_sighandler.go | 14 // GOTRACEBACK=crash when a signal is received. 17 // sighandler is invoked when a signal occurs. The global g will be 19 // signal stack. The parameter g will be the value of the global g 20 // when the signal occurred. The sig, info, and ctxt parameters are 21 // from the system signal handler: they are the parameters passed when 42 // The signal is going to cause a panic. 44 // where the signal occurred made a call to the 87 print("Signal ", sig, "\n") 92 print("signal arrived during cgo execution\n") 117 // All m's that have already received SIGQUIT have signal masks blockin [all...] |
/prebuilts/go/linux-x86/src/runtime/ |
signal_sighandler.go | 14 // GOTRACEBACK=crash when a signal is received. 17 // sighandler is invoked when a signal occurs. The global g will be 19 // signal stack. The parameter g will be the value of the global g 20 // when the signal occurred. The sig, info, and ctxt parameters are 21 // from the system signal handler: they are the parameters passed when 42 // The signal is going to cause a panic. 44 // where the signal occurred made a call to the 87 print("Signal ", sig, "\n") 92 print("signal arrived during cgo execution\n") 117 // All m's that have already received SIGQUIT have signal masks blockin [all...] |
/external/libbrillo/brillo/dbus/ |
dbus_object.cc | 143 const std::shared_ptr<DBusSignalBase>& signal) { 144 VLOG(1) << "Declaring a signal sink: " << interface_name_ << "." 146 CHECK(signals_.insert(std::make_pair(signal_name, signal)).second) 147 << "The signal '" << signal_name << "' is already registered"; 269 bool DBusObject::SendSignal(dbus::Signal* signal) { 271 exported_object_->SendSignal(signal); 274 LOG(ERROR) << "Trying to send a signal from an object that is not exported";
|