- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 199 for signalfd (0.3 sec)
-
src/iter/iter.go
// or after calling stop. These calls will continue // to return the zero V and false. // // Stop ends the iteration. It must be called when the caller is // no longer interested in next values and next has not yet // signaled that the sequence is over (with a false boolean return). // It is valid to call stop multiple times and when next has // already returned false. // // It is an error to call next or stop from multiple goroutines
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:09:28 UTC 2024 - 6.6K bytes - Viewed (0) -
src/testing/internal/testdeps/deps.go
if err == ctx.Err() { return nil } return err } func (TestDeps) RunFuzzWorker(fn func(fuzz.CorpusEntry) error) error { // Worker processes may or may not receive a signal when the user presses ^C // On POSIX operating systems, a signal sent to a process group is delivered // to all processes in that group. This is not the case on Windows. // If the worker is interrupted, return quickly and without error.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 14:01:23 UTC 2024 - 6.2K bytes - Viewed (0) -
src/os/exec_unix_test.go
t.Skipf("starting test process: %v", err) } defer p.Kill() proc, err := FindProcess(p.Pid) if err != nil { t.Errorf("OS reported error for running process: %v", err) } err = proc.Signal(syscall.Signal(0)) if err != nil { t.Errorf("OS reported error for running process: %v", err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 18:08:44 UTC 2024 - 2K bytes - Viewed (0) -
src/runtime/stubs.go
func gcWriteBarrier8() func duffzero() func duffcopy() // Called from linker-generated .initarray; declared for go vet; do NOT call from Go. func addmoduledata() // Injected by the signal handler for panicking signals. // Initializes any registers that have fixed meaning at calls but // are scratch in bodies and calls sigpanic. // On many platforms it just jumps to sigpanic. func sigpanic0()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 20.2K bytes - Viewed (0) -
src/os/pidfd_linux_test.go
// "done" Process. if err := proc.Kill(); err != os.ErrProcessDone { t.Errorf("Kill: got %v, want %v", err, os.ErrProcessDone) } if err := proc.Signal(os.Kill); err != os.ErrProcessDone { t.Errorf("Signal: got %v, want %v", err, os.ErrProcessDone) } if _, err := proc.Wait(); !errors.Is(err, syscall.ECHILD) { t.Errorf("Wait: got %v, want %v", err, os.ErrProcessDone) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 18:08:44 UTC 2024 - 1.6K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/integTest/groovy/org/gradle/cache/internal/DefaultFileLockManagerContentionIntegrationTest.groovy
assertConfirmationCount(build3) additionalRequests == 0 } def "the lock holder confirms lock releases to multiple requesters"() { given: def signal setupLockOwner() { s -> signal = s } when: // Debug logging might have logged exceptions from other Gradle systems, e.g. execution engine, so we disable stacktrace checks
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 15.1K bytes - Viewed (0) -
build/pause/windows/pause.c
#define VERSION HEAD #endif BOOL WINAPI CtrlHandler(DWORD fdwCtrlType) { switch (fdwCtrlType) { case CTRL_C_EVENT: fprintf(stderr, "Shutting down, got signal\n"); exit(0); case CTRL_BREAK_EVENT: fprintf(stderr, "Shutting down, got signal\n"); exit(0); default: return FALSE; } } int main(int argc, char **argv) { int i; for (i = 1; i < argc; ++i) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 23 13:09:17 UTC 2024 - 1.3K bytes - Viewed (0) -
src/runtime/traceback.go
// context value. // // If the traceback function is called from a signal handler on a Unix // system, SigContext will be the signal context argument passed to // the signal handler (a C ucontext_t* cast to uintptr_t). This may be // used to start tracing at the point where the signal occurred. If // the traceback function is not called from a signal handler, // SigContext will be zero. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 55.1K bytes - Viewed (0) -
src/testing/testing.go
start highPrecisionTime // Time test or benchmark started duration time.Duration barrier chan bool // To signal parallel subtests they may start. Nil when T.Parallel is not present (B) or not usable (when fuzzing). signal chan bool // To signal a test is done. sub []*T // Queue of subtests to be run in parallel.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 76.1K bytes - Viewed (0) -
src/runtime/export_debug_test.go
// TODO(49370): This code is riddled with write barriers, but called from // a signal handler. Add the go:nowritebarrierrec annotation and restructure // this to avoid write barriers. switch h.gp.atomicstatus.Load() { case _Grunning: if getg().m != h.mp { println("trap on wrong M", getg().m, h.mp) return false } // Save the signal context h.saveSigContext(ctxt) // Set PC to debugCallV2.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 15:41:45 UTC 2024 - 5.1K bytes - Viewed (0)