Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for sysconf (0.19 sec)

  1. src/os/exec_unix_test.go

    	if runtime.GOOS == "solaris" || runtime.GOOS == "illumos" {
    		// Solaris/Illumos have a lower limit, above which wait returns
    		// EINVAL (see waitid in usr/src/uts/common/os/exit.c in
    		// illumos). This is configurable via sysconf(_SC_MAXPID), but
    		// we'll just take the default.
    		pid = 30000-1
    	}
    
    	p, err := FindProcess(pid)
    	if err != nil {
    		t.Fatalf("FindProcess(math.MaxInt32) got err %v, want nil", err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 18:08:44 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. src/runtime/mklockrank.go

    // not actually define a rank.
    //
    // TODO: It's often hard to correlate rank names to locks. Change
    // these to be more consistent with the locks they label.
    const ranks = `
    # Sysmon
    NONE
    < sysmon
    < scavenge, forcegc;
    
    # Defer
    NONE < defer;
    
    # GC
    NONE <
      sweepWaiters,
      assistQueue,
      sweep;
    
    # Test only
    NONE < testR, testW;
    
    NONE < timerSend;
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. src/runtime/traceback_system_test.go

    	)
    	for i := 0; i < len(lines); i++ {
    		line := lines[i]
    
    		// Read sentinel value.
    		if parentSentinel == 0 && strings.HasPrefix(line, "sentinel ") {
    			_, err := fmt.Sscanf(line, "sentinel %x", &parentSentinel)
    			if err != nil {
    				return nil, fmt.Errorf("can't read sentinel line")
    			}
    			continue
    		}
    
    		// Search for "goroutine GID [STATUS]"
    		if !on {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 15:19:04 UTC 2024
    - 7.4K bytes
    - Viewed (0)
Back to top