Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 572 for mstart0 (0.2 sec)

  1. src/runtime/os_netbsd.go

    // signal stack here before calling the regular mstart. It's a bit
    // baroque to remove a signal stack here only to add one in minit, but
    // it's a simple change that keeps NetBSD working like other OS's.
    // At this point all signals are blocked, so there is no race.
    //
    //go:nosplit
    func netbsdMstart0() {
    	st := stackt{ss_flags: _SS_DISABLE}
    	sigaltstack(&st, nil)
    	mstart0()
    }
    
    func osinit() {
    	ncpu = getncpu()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  2. src/runtime/proc.go

    	}
    
    	// Set up m.g0.sched as a label returning to just
    	// after the mstart1 call in mstart0 above, for use by goexit0 and mcall.
    	// We're never coming back to mstart1 after we call schedule,
    	// so other calls can reuse the current frame.
    	// And goexit0 does a gogo that needs to return from mstart1
    	// and let mstart0 exit the thread.
    	gp.sched.g = guintptr(unsafe.Pointer(gp))
    	gp.sched.pc = getcallerpc()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  3. src/internal/zstd/literals.go

    	}
    	streamSize4 := uint32(totalStreamsSize) - 6 - uint32(tot)
    
    	off--
    	off1 := off + int(streamSize1)
    	start1 := off + 1
    
    	off2 := off1 + int(streamSize2)
    	start2 := off1 + 1
    
    	off3 := off2 + int(streamSize3)
    	start3 := off2 + 1
    
    	off4 := off3 + int(streamSize4)
    	start4 := off3 + 1
    
    	// We let the reverse bit readers read earlier bytes,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 14:30:10 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  4. src/runtime/mstats.go

    // Memory statistics
    
    package runtime
    
    import (
    	"internal/runtime/atomic"
    	"unsafe"
    )
    
    type mstats struct {
    	// Statistics about malloc heap.
    	heapStats consistentHeapStats
    
    	// Statistics about stacks.
    	stacks_sys sysMemStat // only counts newosproc0 stack in mstats; differs from MemStats.StackSys
    
    	// Statistics about allocation of low-level fixed-size structures.
    	mspan_sys    sysMemStat
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 21:03:13 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  5. src/cmd/trace/jsontrace.go

    	slices.SortStableFunc(opts.tasks, func(a, b *trace.UserTaskSummary) int {
    		aStart, bStart := parsed.startTime(), parsed.startTime()
    		if a.Start != nil {
    			aStart = a.Start.Time()
    		}
    		if b.Start != nil {
    			bStart = b.Start.Time()
    		}
    		if a.Start != b.Start {
    			return cmp.Compare(aStart, bStart)
    		}
    		// Break ties with the end time.
    		aEnd, bEnd := parsed.endTime(), parsed.endTime()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  6. src/runtime/os_openbsd_libc.go

    		exit(1)
    	}
    	mp.g0.stack.hi = stacksize // for mstart
    
    	// Tell the pthread library we won't join with this thread.
    	if pthread_attr_setdetachstate(&attr, _PTHREAD_CREATE_DETACHED) != 0 {
    		writeErrStr(failthreadcreate)
    		exit(1)
    	}
    
    	// Finally, create the thread. It starts at mstart_stub, which does some low-level
    	// setup and then calls mstart.
    	var oset sigset
    	sigprocmask(_SIG_SETMASK, &sigset_all, &oset)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 10 20:44:45 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/api/internal/project/DefaultProjectStateRegistryTest.groovy

                        assert state1.hasMutableState()
                        assert state2.hasMutableState()
                    }
                }
                start(action)
                start(action)
                start(action)
                start(action)
                start(action)
            }
    
            then:
            noExceptionThrown()
        }
    
        def "thread can be granted uncontrolled access to a single project"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/telemetry/start.go

    // first running goroutine in the traceback.
    //
    // If either of these flags is set, Start re-executes the current
    // executable as a child process, in a special mode in which it
    // acts as a telemetry sidecar for the parent process (the application).
    // In that mode, the call to Start will never return, so Start must
    // be called immediately within main, even before such things as
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 14:52:56 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  9. src/internal/diff/testdata/start.txt

    Russ Cox <******@****.***> 1643490792 -0500
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 18 16:56:29 UTC 2022
    - 142 bytes
    - Viewed (0)
  10. src/runtime/metrics_test.go

    			checkUint64(t, name, samples[i].Value.Uint64(), mstats.HeapIdle-mstats.HeapReleased)
    		case "/memory/classes/heap/released:bytes":
    			checkUint64(t, name, samples[i].Value.Uint64(), mstats.HeapReleased)
    		case "/memory/classes/heap/objects:bytes":
    			checkUint64(t, name, samples[i].Value.Uint64(), mstats.HeapAlloc)
    		case "/memory/classes/heap/unused:bytes":
    			checkUint64(t, name, samples[i].Value.Uint64(), mstats.HeapInuse-mstats.HeapAlloc)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 45K bytes
    - Viewed (0)
Back to top