- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 459 for signalM (0.18 sec)
-
src/runtime/cgo/gcc_netbsd.c
free(v); // On NetBSD, a new thread inherits the signal stack of the // creating thread. That confuses minit, so we remove that // signal stack here before calling the regular mstart. It's // a bit baroque to remove a signal stack here only to add one // in minit, but it's a simple change that keeps NetBSD // working like other OS's. At this point all signals are // blocked, so there is no race. memset(&ss, 0, sizeof ss);
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 15 03:55:51 UTC 2023 - 1.7K bytes - Viewed (0) -
src/runtime/debuglog_on.go
func getCachedDlogger() *dlogger { mp := acquirem() // We don't return a cached dlogger if we're running on the // signal stack in case the signal arrived while in // get/putCachedDlogger. (Too bad we don't have non-atomic // exchange!) var l *dlogger if getg() != mp.gsignal { l = mp.dlogCache mp.dlogCache = nil } releasem(mp) return l }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 1.1K bytes - Viewed (0) -
src/runtime/testdata/testprogcgo/racesig.go
//go:build unix // +build unix package main // Test that an external C thread that is calling malloc can be hit // with SIGCHLD signals. This used to fail when built with the race // detector, because in that case the signal handler would indirectly // call the C malloc function. /* #include <errno.h> #include <signal.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <pthread.h> #include <sched.h>
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 01:46:05 UTC 2023 - 1.7K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/locklistener/DefaultFileLockContentionHandlerTest.groovy
} def "client receives signal when lock is released"() { def signaled = new AtomicBoolean() when: int port = handler.reservePort() handler.start(10) { signal -> signal.trigger() } client.reservePort() client.start(11) {} client.maybePingOwner(port, 10, "lock 1", 50000) { signaled.set(true) } then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:49 UTC 2024 - 6.1K bytes - Viewed (0) -
pkg/ctrlz/ctrlz_test.go
t.Fatal("Timed out waiting for listeningTestProbe to be called") } } func TestSignals(t *testing.T) { c := make(chan os.Signal, 1) signal.Notify(c, syscall.SIGUSR1) server := startAndWaitForServer(t) defer server.Close() reloadURL := fmt.Sprintf("http://%v/signalj/SIGUSR1", server.Address()) resp, err := http.DefaultClient.Post(reloadURL, "text/plain", nil) if err != nil { t.Fatalf("Run: %v", err) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Feb 15 18:23:41 UTC 2024 - 2K bytes - Viewed (0) -
pkg/windows/service/service.go
case svc.Interrogate: s <- c.CurrentStatus case svc.Stop, svc.Shutdown: klog.Infof("Service stopping") // We need to translate this request into a signal that can be handled by the signal handler // handling shutdowns normally (currently apiserver/pkg/server/signal.go). // If we do not do this, our main threads won't be notified of the upcoming shutdown.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 24 11:25:33 UTC 2022 - 3.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/filters/mux_discovery_complete_test.go
{ name: "no signals, no key in the ctx", expectNoMuxAndDiscoIncompleteKey: true, }, { name: "signal ready, no key in the ctx", muxAndDiscoveryCompleteSignal: func() chan struct{} { ch := make(chan struct{}); close(ch); return ch }(), expectNoMuxAndDiscoIncompleteKey: true, }, { name: "signal not ready, the key in the ctx",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 19 11:26:59 UTC 2021 - 2.1K bytes - Viewed (0) -
src/runtime/cgo/gcc_signal_ios_arm64.c
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Emulation of the Unix signal SIGSEGV. // // On iOS, Go tests and apps under development are run by lldb. // The debugger uses a task-level exception handler to intercept signals. // Despite having a 'handle' mechanism like gdb, lldb will not allow a // SIGSEGV to pass to the running program. For Go, this means we cannot
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 21:04:22 UTC 2024 - 6K bytes - Viewed (0) -
src/runtime/testdata/testprogcgo/raceprof.go
//go:build unix // +build unix package main // Test that we can collect a lot of colliding profiling signals from // an external C thread. This used to fail when built with the race // detector, because a call of the predeclared function copy was // turned into a call to runtime.slicecopy, which is not marked nosplit. /* #include <signal.h> #include <stdint.h> #include <pthread.h> #include <sched.h> struct cgoTracebackArg {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 24 18:13:14 UTC 2023 - 1.7K bytes - Viewed (0) -
src/runtime/cpuprof.go
log *profBuf // profile events written here // extra holds extra stacks accumulated in addNonGo // corresponding to profiling signals arriving on // non-Go-created threads. Those stacks are written // to log the next time a normal Go thread gets the // signal handler. // Assuming the stacks are 2 words each (we don't get // a full traceback from those threads), plus one word
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 8.5K bytes - Viewed (0)