Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 88 for Signalfd (0.24 sec)

  1. src/runtime/sys_linux_arm.s

    	MOVW	$0, R8
    	MOVW	R8, (R7) // clear g slot
    
    	JMP	finish
    
    nosaveg:
    	BL	(R4)
    
    finish:
    	MOVW	R5, R13		// Restore real SP
    	// Restore vdsoPC, vdsoSP
    	// We don't worry about being signaled between the two stores.
    	// If we are not in a signal handler, we'll restore vdsoSP to 0,
    	// and no one will care about vdsoPC. If we are in a signal handler,
    	// we cannot receive another signal.
    	MOVW	8(R13), R7
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 24 18:53:44 UTC 2023
    - 13.5K bytes
    - Viewed (0)
  2. src/internal/poll/fd_unix.go

    	fdmu fdMutex
    
    	// System file descriptor. Immutable until Close.
    	Sysfd int
    
    	// Platform dependent state of the file descriptor.
    	SysFile
    
    	// I/O poller.
    	pd pollDesc
    
    	// Semaphore signaled when file is closed.
    	csema uint32
    
    	// Non-zero if this file has been set to blocking mode.
    	isBlocking uint32
    
    	// Whether this is a streaming descriptor, as opposed to a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 04:09:44 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  3. src/runtime/sys_linux_amd64.s

    	CMPQ	AX, $0
    	JEQ	fallback
    	CALL	AX
    ret:
    	MOVQ	0(SP), AX	// sec
    	MOVQ	8(SP), DX	// nsec
    	MOVQ	R12, SP		// Restore real SP
    	// Restore vdsoPC, vdsoSP
    	// We don't worry about being signaled between the two stores.
    	// If we are not in a signal handler, we'll restore vdsoSP to 0,
    	// and no one will care about vdsoPC. If we are in a signal handler,
    	// we cannot receive another signal.
    	MOVQ	8(SP), CX
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 24 18:53:44 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  4. src/runtime/stack_test.go

    						return
    					}
    					f(k-1, a)
    				}
    				f(RecursionDepth, [ArraySize]byte{})
    				c <- true
    			}()
    		}
    		for i := 0; i < BatchSize; i++ {
    			<-c
    		}
    
    		// The goroutines have signaled via c that they are ready to exit.
    		// Give them a chance to exit by sleeping. If we don't wait, we
    		// might not reuse them on the next batch.
    		time.Sleep(10 * time.Millisecond)
    	}
    	s1 := new(MemStats)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 23.1K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go

    func (w WaitStatus) Exited() bool { return w&mask == exited }
    
    func (w WaitStatus) Signaled() bool { return w&mask != stopped && w&mask != exited }
    
    func (w WaitStatus) Stopped() bool { return w&0xFF == stopped }
    
    func (w WaitStatus) Continued() bool { return w == 0xFFFF }
    
    func (w WaitStatus) CoreDump() bool { return w.Signaled() && w&core != 0 }
    
    func (w WaitStatus) ExitStatus() int {
    	if !w.Exited() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  6. src/crypto/internal/mlkem768/mlkem768.go

    	A := &dk.A
    	for i := byte(0); i < k; i++ {
    		for j := byte(0); j < k; j++ {
    			// Note that this is consistent with Kyber round 3, rather than with
    			// the initial draft of FIPS 203, because NIST signaled that the
    			// change was involuntary and will be reverted.
    			A[i*k+j] = sampleNTT(ρ, j, i)
    		}
    	}
    
    	var N byte
    	s := &dk.s
    	for i := range s {
    		s[i] = ntt(samplePolyCBD(σ, N))
    		N++
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  7. src/os/signal/signal_test.go

    			} else if ws, ok := ee.Sys().(syscall.WaitStatus); !ok {
    				t.Errorf("iteration %d: error.Sys (%v) has type %T; expected syscall.WaitStatus", i, ee.Sys(), ee.Sys())
    			} else if !ws.Signaled() || ws.Signal() != syscall.SIGINT {
    				t.Errorf("iteration %d: got exit status %v; expected SIGINT", i, ee)
    			}
    		}
    	}
    }
    
    // atomicStopTestProgram is run in a subprocess by TestAtomicStop.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 15:34:56 UTC 2023
    - 27.2K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/testcarchive/carchive_test.go

    	} else if ws, ok := ee.Sys().(syscall.WaitStatus); !ok {
    		t.Errorf("error.Sys (%v) has type %T; expected syscall.WaitStatus", ee.Sys(), ee.Sys())
    	} else if !ws.Signaled() || (ws.Signal() != sig1 && ws.Signal() != sig2) {
    		if sig2 == 0 {
    			t.Errorf("got %q; expected signal %q", ee, sig1)
    		} else {
    			t.Errorf("got %q; expected signal %q or %q", ee, sig1, sig2)
    		}
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:43:51 UTC 2023
    - 34.8K bytes
    - Viewed (0)
  9. src/runtime/os_windows.go

    				// Not a suspend/resume event
    				break
    			}
    			elapsed = nanotime() - start
    			if elapsed >= ns {
    				return -1
    			}
    		}
    	}
    	switch result {
    	case _WAIT_OBJECT_0: // Signaled
    		return 0
    
    	case _WAIT_TIMEOUT:
    		return -1
    
    	case _WAIT_ABANDONED:
    		systemstack(func() {
    			throw("runtime.semasleep wait_abandoned")
    		})
    
    	case _WAIT_FAILED:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  10. src/runtime/mgcsweep.go

    		// close to done sweeping.
    
    		// Move the scavenge gen forward (signaling
    		// that there's new work to do) and wake the scavenger.
    		//
    		// The scavenger is signaled by the last sweeper because once
    		// sweeping is done, we will definitely have useful work for
    		// the scavenger to do, since the scavenger only runs over the
    		// heap once per GC cycle. This update is not done during sweep
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:52:18 UTC 2024
    - 32.9K bytes
    - Viewed (0)
Back to top