Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 587 for blocked (0.27 sec)

  1. src/runtime/lock_sema.go

    			for semasleep(ns) < 0 {
    				asmcgocall(*cgo_yield, nil)
    			}
    		}
    		gp.m.blocked = false
    		return true
    	}
    
    	deadline = nanotime() + ns
    	for {
    		// Registered. Sleep.
    		gp.m.blocked = true
    		if *cgo_yield != nil && ns > 10e6 {
    			ns = 10e6
    		}
    		if semasleep(ns) >= 0 {
    			gp.m.blocked = false
    			// Acquired semaphore, semawakeup unregistered us.
    			// Done.
    			return true
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. plugin/pkg/admission/eventratelimit/admission_test.go

    				newEventRequest().withNamespace("B").blocked(),
    				newEventRequest().withNamespace("A").blocked(),
    				// This should clear out namespace B from the lru cache
    				newEventRequest().withNamespace("C"),
    				newEventRequest().withNamespace("A").blocked(),
    				newEventRequest().withNamespace("B"),
    			},
    		},
    		{
    			name:                     "event blocked by source+object limits",
    			serverBurst:              100,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 17 13:19:08 UTC 2021
    - 15.6K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/test/sigprocmask.go

    */
    import "C"
    import (
    	"os"
    	"os/signal"
    	"syscall"
    	"testing"
    )
    
    var blocked bool
    
    //export IntoGoAndBack
    func IntoGoAndBack() {
    	// Verify that SIGIO stays blocked on the C thread
    	// even when unblocked for signal.Notify().
    	signal.Notify(make(chan os.Signal), syscall.SIGIO)
    	blocked = C.CheckBlocked() != 0
    }
    
    func testSigprocmask(t *testing.T) {
    	if r := C.RunSigThread(); r != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 808 bytes
    - Viewed (0)
  4. src/runtime/lock_futex.go

    		// Sleep for an arbitrary-but-moderate interval to poll libc interceptors.
    		ns = 10e6
    	}
    	for atomic.Load(key32(&n.key)) == 0 {
    		gp.m.blocked = true
    		futexsleep(key32(&n.key), 0, ns)
    		if *cgo_yield != nil {
    			asmcgocall(*cgo_yield, nil)
    		}
    		gp.m.blocked = false
    	}
    }
    
    // May run with m.p==nil if called from notetsleep, so write barriers
    // are not allowed.
    //
    //go:nosplit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:34 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. src/runtime/coro.go

    // It can be thought of as like a special channel that always has
    // a goroutine blocked on it. If another goroutine calls coroswitch(c),
    // the caller becomes the goroutine blocked in c, and the goroutine
    // formerly blocked in c starts running.
    // These switches continue until a call to coroexit(c),
    // which ends the use of the coro by releasing the blocked
    // goroutine in c and exiting the current goroutine.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:09:18 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  6. src/internal/trace/testdata/testprog/stress.go

    // blocked goroutines, LockOSThread, pipes, and GOMAXPROCS).
    
    //go:build ignore
    
    package main
    
    import (
    	"log"
    	"net"
    	"os"
    	"runtime"
    	"runtime/trace"
    	"sync"
    	"time"
    )
    
    func main() {
    	var wg sync.WaitGroup
    	done := make(chan bool)
    
    	// Create a goroutine blocked before tracing.
    	wg.Add(1)
    	go func() {
    		<-done
    		wg.Done()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java

            } else {
                this.mirroredRepositories = Collections.emptyList();
            }
        }
    
        public boolean isBlocked() {
            return blocked;
        }
    
        public void setBlocked(boolean blocked) {
            this.blocked = blocked;
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Dec 26 15:12:32 UTC 2022
    - 11K bytes
    - Viewed (0)
  8. src/internal/trace/testdata/generators/go122-syscall-steal-proc-sitting-in-syscall.go

    	g := t.Generation(1)
    
    	// Steal proc from a goroutine that's been blocked
    	// in a syscall the entire generation.
    	b0 := g.Batch(trace.ThreadID(0), 0)
    	b0.Event("ProcStatus", trace.ProcID(0), go122.ProcSyscallAbandoned)
    	b0.Event("ProcSteal", trace.ProcID(0), testgen.Seq(1), trace.ThreadID(1))
    
    	// Status event for a goroutine blocked in a syscall for the entire generation.
    	bz := g.Batch(trace.NoThread, 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 946 bytes
    - Viewed (0)
  9. maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepository.java

        @Deprecated
        void setBlacklisted(boolean blackListed);
    
        /**
         * @return whether the repository is blocked
         * @since 3.8.1
         **/
        boolean isBlocked();
    
        /**
         * @param blocked block the repository?
         * @since 3.8.1
         **/
        void setBlocked(boolean blocked);
    
        //
        // New interface methods for the repository system.
        //
        /**
         *
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Feb 23 17:14:45 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  10. maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepository.java

            } else {
                this.mirroredRepositories = Collections.emptyList();
            }
        }
    
        public boolean isBlocked() {
            return blocked;
        }
    
        public void setBlocked(boolean blocked) {
            this.blocked = blocked;
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 7.3K bytes
    - Viewed (0)
Back to top