Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 360 for blocked (0.28 sec)

  1. src/runtime/os_windows.go

    				// Don't profile ourselves.
    				continue
    			}
    
    			lock(&mp.threadLock)
    			// Do not profile threads blocked on Notes,
    			// this includes idle worker threads,
    			// idle timer thread, idle heap scavenger, etc.
    			if mp.thread == 0 || mp.profilehz == 0 || mp.blocked {
    				unlock(&mp.threadLock)
    				continue
    			}
    			// Acquire our own handle to the thread.
    			var thread uintptr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  2. src/os/signal/doc.go

    entirely.
    
    If the program is started with a non-empty signal mask, some signals
    will be explicitly unblocked as described above. If Notify is called
    for a blocked signal, it will be unblocked. If, later, Reset is
    called for that signal, or Stop is called on all channels passed to
    Notify for that signal, the signal will once again be blocked.
    
    # SIGPIPE
    
    When a Go program writes to a broken pipe, the kernel will raise a
    SIGPIPE signal.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:11:00 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/internal/generic/controller_test.go

    	}()
    
    	// Start controller
    	wg.Add(1)
    	go func() {
    		defer wg.Done()
    		stopReason := myController.Run(testContext)
    		require.ErrorIs(t, stopReason, context.Canceled)
    	}()
    
    	// The controller is blocked because the reconcile function sends on an
    	// unbuffered channel.
    	require.False(t, myController.HasSynced())
    
    	// Wait for all enqueued reconciliations
    	require.NoError(t, waitForReconcile(initialObject))
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 12 18:58:24 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  4. src/cmd/trace/threadgen.go

    			start = ctx.startTime
    		}
    		// Write down that we've entered a syscall. Note: we might have no P here
    		// if we're in a cgo callback or this is a transition from GoUndetermined
    		// (i.e. the G has been blocked in a syscall).
    		gs.syscallBegin(start, ev.Thread(), ev.Stack())
    	}
    
    	// Note down the goroutine transition.
    	_, inMarkAssist := gs.activeRanges["GC mark assist"]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. src/runtime/pprof/pprof.go

    // the program began (including garbage-collected bytes).
    //
    // # Block profile
    //
    // The block profile tracks time spent blocked on synchronization primitives,
    // such as [sync.Mutex], [sync.RWMutex], [sync.WaitGroup], [sync.Cond], and
    // channel send/receive/select.
    //
    // Stack traces correspond to the location that blocked (for example,
    // [sync.Mutex.Lock]).
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  6. api/maven-api-settings/src/main/mdo/settings.mdo

                @since Maven 3.
              </description>
            </field>
            <field>
              <name>blocked</name>
              <version>1.2.0+</version>
              <type>boolean</type>
              <defaultValue>false</defaultValue>
              <description>
                <![CDATA[
                Whether this mirror should be blocked from any download request but fail the download process, explaining why.
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat Feb 17 18:40:11 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  7. src/runtime/traceruntime.go

    	tl.eventWriter(traceGoRunning, traceProcRunning).commit(traceEvGCMarkAssistEnd)
    }
    
    // GoCreate emits a GoCreate event.
    func (tl traceLocker) GoCreate(newg *g, pc uintptr, blocked bool) {
    	newg.trace.setStatusTraced(tl.gen)
    	ev := traceEvGoCreate
    	if blocked {
    		ev = traceEvGoCreateBlocked
    	}
    	tl.eventWriter(traceGoRunning, traceProcRunning).commit(ev, traceArg(newg.goid), tl.startPC(pc), tl.stack(2))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  8. testing/internal-testing/src/test/groovy/org/gradle/test/fixtures/concurrent/ConcurrentSpecTest.groovy

                thread.block()
                worker.runLater(action2)
            }
    
            then:
            instant.action2Completed < instant.action1Completed
        }
    
        def "can use instants to test that a method blocks until action is complete"() {
            Worker worker = new Worker(executor)
    
            given:
            def action = {
                thread.block()
                instant.actionCompleted
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/BlockingHttpServer.java

             * Waits for the request to be received and blocked.
             */
            void waitUntilBlocked();
    
            /**
             * Unblock the request.
             */
            void release();
        }
    
        /**
         * Allows the test to synchronise with and unblock requests.
         */
        public interface BlockingHandler {
            /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  10. cmd/bootstrap-peer-server.go

    				} else {
    					onlineServers++
    				}
    				mu.Unlock()
    			}(clnt)
    		}
    		wg.Wait()
    
    		select {
    		case <-ctx.Done():
    			return ctx.Err()
    		default:
    			// Sleep and stagger to avoid blocked CPU and thundering
    			// herd upon start up sequence.
    			time.Sleep(25*time.Millisecond + time.Duration(rand.Int63n(int64(100*time.Millisecond))))
    			retries++
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top