Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 182 for lockedm (0.21 sec)

  1. src/runtime/debug/garbage.go

    //
    // The limit controls the number of operating system threads, not the number
    // of goroutines. A Go program creates a new thread only when a goroutine
    // is ready to run but all the existing threads are blocked in system calls, cgo calls,
    // or are locked to other goroutines due to use of runtime.LockOSThread.
    //
    // SetMaxThreads is useful mainly for limiting the damage done by
    // programs that create an unbounded number of threads. The idea is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  2. platforms/core-runtime/internal-instrumentation-api/src/main/java/org/gradle/internal/instrumentation/api/annotations/ToBeReplacedByLazyProperty.java

     */
    @Retention(RetentionPolicy.CLASS)
    @Target({ElementType.METHOD})
    public @interface ToBeReplacedByLazyProperty {
    
        /**
         * Additional comment, e.g. why upgrade of a property is blocked.
         */
        String comment() default "";
    
        /**
         * Link to a GitHub issue if it exists.
         */
        String issue() default "";
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 09:58:15 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  3. internal/ringbuffer/ring_buffer.go

    	go func() {
    		select {
    		case <-ctx.Done():
    			r.CloseWithError(ctx.Err())
    		}
    	}()
    	return r
    }
    
    func (r *RingBuffer) setErr(err error, locked bool) error {
    	if !locked {
    		r.mu.Lock()
    		defer r.mu.Unlock()
    	}
    	if r.err != nil && r.err != io.EOF {
    		return r.err
    	}
    
    	switch err {
    	// Internal errors are transient
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. src/cmd/trace/goroutinegen.go

    	}
    	if from == trace.GoNotExist && to == trace.GoRunnable {
    		// Goroutine was created.
    		gs.created(ev.Time(), ev.Goroutine(), ev.Stack())
    	}
    	if from == trace.GoSyscall && to != trace.GoRunning {
    		// Exiting blocked syscall.
    		gs.syscallEnd(ev.Time(), true, ctx)
    		gs.blockedSyscallEnd(ev.Time(), ev.Stack(), ctx)
    	} else if from == trace.GoSyscall {
    		// Check if we're exiting a syscall in a non-blocking way.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. 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)
  6. staging/src/k8s.io/apiserver/pkg/storage/cacher/cache_watcher_test.go

    	// May sure that the watch will not be blocked on Stop.
    	for i := 0; i < maxRetriesToProduceTheRaceCondition; i++ {
    		w = newCacheWatcher(0, filter, forget, storage.APIObjectVersioner{}, time.Now(), false, schema.GroupResource{Resource: "pods"}, "")
    		go w.Stop()
    		select {
    		case <-done:
    		case <-time.After(time.Second):
    			t.Fatal("stop is blocked when the timer is fired concurrently")
    		}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 09:20:10 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  7. src/runtime/netpoll.go

    	pd := pollcache.alloc()
    	lock(&pd.lock)
    	wg := pd.wg.Load()
    	if wg != pdNil && wg != pdReady {
    		throw("runtime: blocked write on free polldesc")
    	}
    	rg := pd.rg.Load()
    	if rg != pdNil && rg != pdReady {
    		throw("runtime: blocked read on free polldesc")
    	}
    	pd.fd = fd
    	if pd.fdseq.Load() == 0 {
    		// The value 0 is special in setEventErr, so don't use it.
    		pd.fdseq.Store(1)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  8. platforms/core-runtime/build-process-services/src/test/groovy/org/gradle/internal/installation/CurrentGradleInstallationLocatorTest.groovy

    import org.junit.Rule
    import org.objectweb.asm.ClassWriter
    import org.objectweb.asm.Opcodes
    import org.objectweb.asm.tree.ClassNode
    import spock.lang.Specification
    
    @LeaksFileHandles
    // This test keeps the jars locked on Windows JDK 1.7
    class CurrentGradleInstallationLocatorTest extends Specification {
        @Rule
        final TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass())
        List<Closeable> loaders = []
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 06:16:07 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. src/crypto/rand/rand_plan9.go

    	seeded  sync.Once
    	seedErr error
    	key     [32]byte
    }
    
    func (r *reader) Read(b []byte) (n int, err error) {
    	r.seeded.Do(func() {
    		t := time.AfterFunc(time.Minute, func() {
    			println("crypto/rand: blocked for 60 seconds waiting to read random data from the kernel")
    		})
    		defer t.Stop()
    		entropy, err := os.Open(randomDevice)
    		if err != nil {
    			r.seedErr = err
    			return
    		}
    		defer entropy.Close()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. pkg/kube/krt/index.go

    	var res []I
    	for obj := range i.objects[k] {
    		item := i.c.GetKey(obj)
    		if item == nil {
    			// This should be extremely rare, but possible. While we have a mutex here, the underlying collection
    			// is not locked and maybe have changed in the meantime.
    			log.Debugf("missing item for %v", obj)
    			continue
    		}
    		res = append(res, *item)
    	}
    	return res
    }
    
    func (i *Index[I, K]) objectHasKey(obj I, k K) bool {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 04:53:45 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top