Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 179 for psignal (0.12 sec)

  1. guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

          // If signal() fails somehow, we should see a failed test, even without looking at the Future.
          Future<?> unused =
              scheduledPool.schedule(
                  new Runnable() {
                    @Override
                    public void run() {
                      testCondition.signal();
                    }
                  },
                  delay,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 16:06:39 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  2. src/go/build/deps_test.go

    	io/fs
    	< internal/testlog
    	< internal/poll
    	< internal/filepathlite
    	< os
    	< os/signal;
    
    	io/fs
    	< embed;
    
    	unicode, fmt !< net, os, os/signal;
    
    	os/signal, internal/filepathlite, STR
    	< path/filepath
    	< io/ioutil;
    
    	path/filepath, internal/godebug < os/exec;
    
    	io/ioutil, os/exec, os/signal
    	< OS;
    
    	reflect !< OS;
    
    	OS
    	< golang.org/x/sys/cpu;
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 16:41:13 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  3. src/internal/trace/testdata/testprog/stacks.go

    	time.Sleep(100 * time.Millisecond) // the last chance for the goroutines above to block
    	done1 <- true
    	<-done2
    	select {
    	case c1 <- 0:
    	case c2 <- 0:
    	}
    	mu.Unlock()
    	wg.Done()
    	cv.Signal()
    	c, err := net.Dial("tcp", ln.Addr().String())
    	if err != nil {
    		log.Fatalf("failed to dial: %v", err)
    	}
    	c.Close()
    	var data [1]byte
    	wp.Write(data[:])
    	<-pipeReadDone
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. pkg/zdsapi/zds.proto

    message AddWorkload {
      string uid = 1;
      WorkloadInfo workload_info = 2;
    }
    
    // Keep workload that we can't find in the fd cache. This can only be sent before SnapshotSent is sent
    // to signal ztunnel to not delete the workload if it has it.
    message KeepWorkload {
      string uid = 1;
    }
    
    // Delete a workload from the ztunnel. Ztunnel should shutdown the workload's proxy.
    message DelWorkload {
      string uid = 2;
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 22:07:03 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. src/syscall/exec_linux_test.go

    	// Use pidfd to send a signal to the child.
    	sig := syscall.SIGINT
    	if err := unix.PidFDSendSignal(uintptr(pidfd), sig); err != nil {
    		if err != syscall.EINVAL && testenv.SyscallIsNotSupported(err) {
    			t.Skip("pidfd_send_signal syscall not supported:", err)
    		}
    		t.Fatal("pidfd_send_signal syscall failed:", err)
    	}
    	// Check if the child received our signal.
    	err = cmd.Wait()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  6. internal/grid/stream.go

    	responses <-chan Response
    	cancel    context.CancelCauseFunc
    
    	// Requests sent to the server.
    	// If the handler is defined with 0 incoming capacity this will be nil.
    	// Channel *must* be closed to signal the end of the stream.
    	// If the request context is canceled, the stream will no longer process requests.
    	// Requests sent cannot be used any further by the called.
    	Requests chan<- []byte
    
    	muxID uint64
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. src/runtime/asm_loong64.s

    	MOVV	fn+0(FP), R19	// R19 = fn
    	MOVV	R19, REGCTXT		// context
    	MOVV	g_m(g), R4	// R4 = m
    
    	MOVV	m_gsignal(R4), R5	// R5 = gsignal
    	BEQ	g, R5, noswitch
    
    	MOVV	m_g0(R4), R5	// R5 = g0
    	BEQ	g, R5, noswitch
    
    	MOVV	m_curg(R4), R6
    	BEQ	g, R6, switch
    
    	// Bad: g is not gsignal, not g0, not curg. What is it?
    	// Hide call from linker nosplit analysis.
    	MOVV	$runtime·badsystemstack(SB), R7
    	JAL	(R7)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 15:04:25 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  8. src/runtime/mbarrier.go

    // reachable by some goroutine that currently cannot reach it.
    //
    //
    // Signal handler pointer writes:
    //
    // In general, the signal handler cannot safely invoke the write
    // barrier because it may run without a P or even during the write
    // barrier.
    //
    // There is exactly one exception: profbuf.go omits a barrier during
    // signal handler profile logging. That's safe only because of the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  9. src/os/pidfd_linux.go

    	p.handlePersistentRelease(statusDone)
    	return &ProcessState{
    		pid:    int(info.Pid),
    		status: info.WaitStatus(),
    		rusage: &rusage,
    	}, nil
    }
    
    func (p *Process) pidfdSendSignal(s syscall.Signal) error {
    	handle, status := p.handleTransientAcquire()
    	switch status {
    	case statusDone:
    		return ErrProcessDone
    	case statusReleased:
    		return errors.New("os: process already released")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 18:08:44 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  10. src/cmd/go/internal/par/work.go

    func (w *Work[T]) Add(item T) {
    	w.mu.Lock()
    	w.init()
    	if !w.added[item] {
    		w.added[item] = true
    		w.todo = append(w.todo, item)
    		if w.waiting > 0 {
    			w.wait.Signal()
    		}
    	}
    	w.mu.Unlock()
    }
    
    // Do runs f in parallel on items from the work set,
    // with at most n invocations of f running at a time.
    // It returns when everything added to the work set has been processed.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 15:54:54 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top