- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 50 for ProcID (0.28 sec)
-
src/internal/trace/testdata/generators/go122-go-create-without-running-g.go
testgen.Main(gen) } func gen(t *testgen.Trace) { g1 := t.Generation(1) // A goroutine gets created on a running P, then starts running. b0 := g1.Batch(trace.ThreadID(0), 0) b0.Event("ProcStatus", trace.ProcID(0), go122.ProcRunning) b0.Event("GoCreate", trace.GoID(5), testgen.NoStack, testgen.NoStack) b0.Event("GoStart", trace.GoID(5), testgen.Seq(1)) b0.Event("GoStop", "whatever", testgen.NoStack)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 21:15:28 UTC 2024 - 996 bytes - Viewed (0) -
src/runtime/os_openbsd.go
// Called on the new thread, can not allocate memory. func minit() { getg().m.procid = uint64(getthrid()) minitSignals() } // Called from dropm to undo the effect of an minit. // //go:nosplit func unminit() { unminitSignals() getg().m.procid = 0 } // Called from exitm, but not from drop, to undo the effect of thread-owned
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 6.2K bytes - Viewed (0) -
src/runtime/align_runtime_test.go
package runtime import "unsafe" // AtomicFields is the set of fields on which we perform 64-bit atomic // operations (all the *64 operations in internal/runtime/atomic). var AtomicFields = []uintptr{ unsafe.Offsetof(m{}.procid), unsafe.Offsetof(p{}.gcFractionalMarkTime), unsafe.Offsetof(profBuf{}.overflow), unsafe.Offsetof(profBuf{}.overflowTime), unsafe.Offsetof(heapStatsDelta{}.tinyAllocCount),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 1.8K bytes - Viewed (0) -
src/runtime/os_plan9.go
n := copy(buf[:], goexits) n = copy(buf[n:], gostringnocopy(status)) pid := getpid() for mp := (*m)(atomic.Loadp(unsafe.Pointer(&allm))); mp != nil; mp = mp.alllink { if mp.procid != 0 && mp.procid != pid { postnote(mp.procid, buf[:]) } } getg().m.locks-- } var procdir = []byte("/proc/") var notefile = []byte("/note\x00") func postnote(pid uint64, msg []byte) int { var buf [128]byte
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 15:41:45 UTC 2024 - 10.3K bytes - Viewed (0) -
src/internal/trace/testtrace/validation.go
type Validator struct { lastTs trace.Time gs map[trace.GoID]*goState ps map[trace.ProcID]*procState ms map[trace.ThreadID]*schedContext ranges map[trace.ResourceID][]string tasks map[trace.TaskID]string seenSync bool Go121 bool } type schedContext struct { M trace.ThreadID P trace.ProcID G trace.GoID } type goState struct { state trace.GoState binding *schedContext }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 10.9K bytes - Viewed (0) -
src/runtime/os_aix.go
func miniterrno() { mp := getg().m r, _ := syscall0(&libc__Errno) mp.perrno = r } func minit() { miniterrno() minitSignals() getg().m.procid = uint64(pthread_self()) } func unminit() { unminitSignals() getg().m.procid = 0 } // Called from exitm, but not from drop, to undo the effect of thread-owned // resources in minit, semacreate, or elsewhere. Do not take locks after calling this.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 8.9K bytes - Viewed (0) -
src/runtime/os3_solaris.go
func minit() { asmcgocall(unsafe.Pointer(abi.FuncPCABI0(miniterrno)), unsafe.Pointer(&libc____errno)) minitSignals() getg().m.procid = uint64(pthread_self()) } // Called from dropm to undo the effect of an minit. func unminit() { unminitSignals() getg().m.procid = 0 } // Called from exitm, but not from drop, to undo the effect of thread-owned
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 17.6K bytes - Viewed (0) -
src/runtime/lockrank_on.go
list := lockPartialOrder[rank] for _, entry := range list { if entry == prevRank { rankOK = true break } } } if !rankOK { printlock() println(gp.m.procid, " ======") printHeldLocks(gp) throw("lock ordering problem") } } // See comment on lockWithRank regarding stack splitting. func unlockWithRank(l *mutex) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 14:29:04 UTC 2024 - 10.6K bytes - Viewed (0) -
src/runtime/rand.go
// the full requested amount. // Whatever entropy r already contained is preserved. func readTimeRandom(r []byte) { // Inspired by wyrand. // An earlier version of this code used getg().m.procid as well, // but note that this is called so early in startup that procid // is not initialized yet. v := uint64(nanotime()) for len(r) > 0 { v ^= 0xa0761d6478bd642f v *= 0xe7037ed1a0b428db size := 8 if len(r) < 8 { size = len(r)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 14:32:47 UTC 2024 - 8K bytes - Viewed (0) -
src/internal/trace/summary.go
return &Summarizer{ gs: make(map[GoID]*GoroutineSummary), tasks: make(map[TaskID]*UserTaskSummary), syscallingP: make(map[ProcID]GoID), syscallingG: make(map[GoID]ProcID), rangesP: make(map[rangeP]GoID), } } type rangeP struct { id ProcID name string } // Event feeds a single event into the stats summarizer. func (s *Summarizer) Event(ev *Event) { if s.syncTs == 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 20.7K bytes - Viewed (0)