- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for unblocksig (0.35 sec)
-
src/runtime/signal_unix.go
sigprocmask(_SIG_SETMASK, &sigset_all, nil) } // unblocksig removes sig from the current thread's signal mask. // This is nosplit and nowritebarrierrec because it is called from // dieFromSignal, which can be called by sigfwdgo while running in the // signal handler, on the signal stack, with no g available. // //go:nosplit //go:nowritebarrierrec func unblocksig(sig uint32) { var set sigset sigaddset(&set, int(sig))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 10 16:04:54 UTC 2024 - 45K bytes - Viewed (0) -
subprojects/core/src/testFixtures/groovy/org/gradle/util/internal/MultithreadedTestRule.java
throw new IllegalStateException("Expected blocking action to unblock, but it did not."); } setState(State.Unblocking, State.Unblocked); } catch (Throwable e) { setState(State.Unblocking, State.Failed); throw UncheckedException.throwAsUncheckedException(e); } finally { setBlockingThread(null);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 05 19:36:14 UTC 2023 - 23.3K bytes - Viewed (0) -
src/net/net_test.go
go func() { // TODO: find a better way to wait // until we're blocked in the cs.Read // call below. Sleep is lame. time.Sleep(100 * time.Millisecond) // Interrupt the upcoming Read, unblocking it: cs.SetReadDeadline(time.Unix(123, 0)) // time in the past }() var buf [1]byte n, err := cs.Read(buf[:1]) if n != 0 || err == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 22 21:04:44 UTC 2024 - 13.3K bytes - Viewed (0) -
pkg/kubelet/container/testing/fake_runtime.go
f.Unlock() select { case <-ctx.Done(): case <-f.imagePullTokenBucket: } return image.Image, retErr } // UnblockImagePulls unblocks a certain number of image pulls, if BlockImagePulls is true. func (f *FakeRuntime) UnblockImagePulls(count int) { if f.imagePullTokenBucket != nil { for i := 0; i < count; i++ { select {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 14 00:23:50 UTC 2024 - 13.9K bytes - Viewed (0) -
src/cmd/trace/gstate.go
name := gs.baseName if gs.label != "" { name += " (" + gs.label + ")" } return name } // setStartCause sets the reason a goroutine will be allowed to start soon. // For example, via unblocking or exiting a blocked syscall. func (gs *gState[R]) setStartCause(ts trace.Time, name string, resource uint64, stack trace.Stack) { gs.startCause.time = ts gs.startCause.name = name gs.startCause.resource = resource
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 11.9K bytes - Viewed (0) -
pkg/controller/resourcequota/resource_quota_monitor.go
// After that it is safe to start them here, before that it is not. informersStarted <-chan struct{} // stopCh drives shutdown. When a reception from it unblocks, monitors will shut down. // This channel is also protected by monitorLock. stopCh <-chan struct{} // running tracks whether Run() has been called. // it is protected by monitorLock. running bool
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 11.6K bytes - Viewed (0) -
internal/grid/muxclient.go
if requests == nil { go m.handleOneWayStream(responseCh, responses) return &Stream{responses: responseCh, Requests: nil, ctx: m.ctx, cancel: m.cancelFn, muxID: m.MuxID}, nil } // Deliver responses and send unblocks back to the server. go m.handleTwowayResponses(responseCh, responses) go m.handleTwowayRequests(responses, requests)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Jun 07 15:51:52 UTC 2024 - 15.9K bytes - Viewed (0) -
src/internal/trace/trace_test.go
func TestTraceFutileWakeup(t *testing.T) { testTraceProg(t, "futile-wakeup.go", func(t *testing.T, tb, _ []byte, _ bool) { // Check to make sure that no goroutine in the "special" trace region // ends up blocking, unblocking, then immediately blocking again. // // The goroutines are careful to call runtime.Gosched in between blocking, // so there should never be a clean block/unblock on the goroutine unless
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 18.5K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/internal/saved_model_api_test.cc
TF_SavedModel* saved_model = TF_LoadSavedModelWithTags(model_dir.c_str(), ctx, kServeTag, 1, status); // TODO(bmzhao): Change this to expect TF_OK when loading is implemented. // That unblocks writing other tests that require a TF_SavedModel*, // like loading a ConcreteFunction. This test at least checks that the // C API builds and can be minimally run. EXPECT_EQ(TF_GetCode(status), TF_UNIMPLEMENTED);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 23 08:08:45 UTC 2024 - 21.3K bytes - Viewed (0) -
src/os/signal/doc.go
code, the handler generally forwards the signal to the non-Go code, as follows. If the signal is SIGPROF, the Go handler does nothing. Otherwise, the Go handler removes itself, unblocks the signal, and raises it again, to invoke any non-Go handler or default system handler. If the program does not exit, the Go handler then reinstalls itself and continues execution of the program.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 18:11:00 UTC 2024 - 11K bytes - Viewed (0)