Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 113 for signalM (0.33 sec)

  1. src/runtime/defs_dragonfly.go

    package runtime
    
    /*
    #include <sys/user.h>
    #include <sys/time.h>
    #include <sys/event.h>
    #include <sys/mman.h>
    #include <sys/ucontext.h>
    #include <sys/rtprio.h>
    #include <sys/signal.h>
    #include <sys/unistd.h>
    #include <errno.h>
    #include <signal.h>
    */
    import "C"
    
    const (
    	EINTR     = C.EINTR
    	EFAULT    = C.EFAULT
    	EBUSY     = C.EBUSY
    	EAGAIN    = C.EAGAIN
    	ETIMEDOUT = C.ETIMEDOUT
    
    	O_WRONLY   = C.O_WRONLY
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. src/cmd/go/scriptcmds_test.go

    	"strings"
    	"sync"
    	"time"
    )
    
    func scriptCommands(interrupt os.Signal, waitDelay time.Duration) map[string]script.Cmd {
    	cmds := scripttest.DefaultCmds()
    
    	// Customize the "exec" interrupt signal and grace period.
    	var cancel func(cmd *exec.Cmd) error
    	if interrupt != nil {
    		cancel = func(cmd *exec.Cmd) error {
    			return cmd.Process.Signal(interrupt)
    		}
    	}
    
    	cmdExec := script.Exec(cancel, waitDelay)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 18:33:17 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/LockOnDemandCrossProcessCacheAccess.java

            @Override
            public void accept(FileLockReleasedSignal signal) {
                stateLock.lock();
                try {
                    if (lockCount == 0) {
                        LOGGER.debug("Lock on {} requested by another process - releasing lock.", cacheDisplayName);
                        releaseLockIfHeld();
                        signal.trigger();
                    } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  4. src/runtime/export_debug_test.go

    	// TODO(49370): This code is riddled with write barriers, but called from
    	// a signal handler. Add the go:nowritebarrierrec annotation and restructure
    	// this to avoid write barriers.
    
    	switch h.gp.atomicstatus.Load() {
    	case _Grunning:
    		if getg().m != h.mp {
    			println("trap on wrong M", getg().m, h.mp)
    			return false
    		}
    		// Save the signal context
    		h.saveSigContext(ctxt)
    		// Set PC to debugCallV2.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. src/runtime/tracecpu.go

    // profiling buffer. It is called from a signal handler, so is limited in what
    // it can do. mp must be the thread that is currently stopped in a signal.
    func traceCPUSample(gp *g, mp *m, pp *p, stk []uintptr) {
    	if !traceEnabled() {
    		// Tracing is usually turned off; don't spend time acquiring the signal
    		// lock unless it's active.
    		return
    	}
    	if mp == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:03:35 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  6. src/internal/syscall/unix/pidfd_linux.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package unix
    
    import "syscall"
    
    func PidFDSendSignal(pidfd uintptr, s syscall.Signal) error {
    	_, _, errno := syscall.Syscall(pidfdSendSignalTrap, pidfd, uintptr(s), 0)
    	if errno != 0 {
    		return errno
    	}
    	return nil
    }
    
    func PidFDOpen(pid, flags int) (uintptr, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 01:23:00 UTC 2024
    - 591 bytes
    - Viewed (0)
  7. testing/performance/src/templates/native-pch-source/pch.h

    #ifndef PCH_H
    #define PCH_H
    #include <stdio.h>
    #include <stdlib.h>
    #include <assert.h>
    #include <math.h>
    #include <stdarg.h>
    #include <signal.h>
    #include <stddef.h>
    #include <errno.h>
    #include <time.h>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 209 bytes
    - Viewed (0)
  8. src/runtime/defs_netbsd.go

    */
    
    // +godefs map __fpregset_t [644]byte
    
    package runtime
    
    /*
    #include <sys/types.h>
    #include <sys/mman.h>
    #include <sys/signal.h>
    #include <sys/event.h>
    #include <sys/time.h>
    #include <sys/ucontext.h>
    #include <sys/unistd.h>
    #include <errno.h>
    #include <signal.h>
    */
    import "C"
    
    const (
    	EINTR  = C.EINTR
    	EFAULT = C.EFAULT
    	EAGAIN = C.EAGAIN
    
    	O_WRONLY   = C.O_WRONLY
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_progress.go

    		ctx = metadata.NewOutgoingContext(ctx, pr.contextMetadata)
    	}
    	go func() {
    		defer utilruntime.HandleCrash()
    		<-stopCh
    		pr.mux.Lock()
    		defer pr.mux.Unlock()
    		pr.stopped = true
    		pr.cond.Signal()
    	}()
    	timer := pr.clock.NewTimer(progressRequestPeriod)
    	defer timer.Stop()
    	for {
    		stopped := func() bool {
    			pr.mux.Lock()
    			defer pr.mux.Unlock()
    			for pr.waiting == 0 && !pr.stopped {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 24 09:56:38 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. subprojects/core/src/testFixtures/groovy/org/gradle/cache/internal/locklistener/NoOpFileLockContentionHandler.java

        @Override
        public int reservePort() {
            return -1;
        }
    
        @Override
        public boolean maybePingOwner(int port, long lockId, String displayName, long timeElapsed, FileLockReleasedSignal signal) {
            return false;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 1.2K bytes
    - Viewed (0)
Back to top