- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 388 for procid (0.1 sec)
-
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/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_plan9.go
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 var tmp [32]byte n := copy(buf[:], procdir) n += copy(buf[n:], itoa(tmp[:], pid)) copy(buf[n:], notefile)
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/runtime/sys_plan9_amd64.s
SUBQ $(64*1024), AX // stack size MOVQ AX, (g_stack+stack_lo)(DX) MOVQ AX, g_stackguard0(DX) MOVQ AX, g_stackguard1(DX) // Initialize procid from TOS struct. MOVQ _tos(SB), AX MOVL 64(AX), AX MOVQ AX, m_procid(CX) // save pid as m->procid // Finally, initialize g. get_tls(BX) MOVQ DX, g(BX) CALL runtime·stackcheck(SB) // smashes AX, CX CALL runtime·mstart(SB)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 01 16:41:22 UTC 2023 - 4.6K bytes - Viewed (0) -
src/runtime/os_dragonfly.go
// Called on the new thread, cannot allocate memory. func minit() { getg().m.procid = uint64(lwp_gettid()) 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: Tue Dec 05 20:34:30 UTC 2023 - 7.1K 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_freebsd.go
if stack == nil { writeErrStr(failallocatestack) exit(1) } // This code "knows" it's being called once from the library // initialization code, and so it's using the static m0 for the // tls and procid (thread) pointers. thr_new() requires the tls // pointers, though the tid pointers can be nil. // However, newosproc0 is currently unreachable because builds // utilizing c-shared/c-archive force external linking.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:34:30 UTC 2023 - 11.6K bytes - Viewed (0) -
src/runtime/sys_plan9_386.s
SUBL $(64*1024), AX // stack size MOVL AX, (g_stack+stack_lo)(DX) MOVL AX, g_stackguard0(DX) MOVL AX, g_stackguard1(DX) // Initialize procid from TOS struct. MOVL _tos(SB), AX MOVL 48(AX), AX MOVL AX, m_procid(CX) // save pid as m->procid // Finally, initialize g. get_tls(BX) MOVL DX, g(BX) CALL runtime·stackcheck(SB) // smashes AX, CX CALL runtime·mstart(SB)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 21 22:12:04 UTC 2021 - 4.5K bytes - Viewed (0) -
src/runtime/os_darwin.go
minitSignalStack() } minitSignalMask() getg().m.procid = uint64(pthread_self()) } // Called from dropm to undo the effect of an minit. // //go:nosplit func unminit() { // iOS does not support alternate signal stack. // See minit. if !(GOOS == "ios" && GOARCH == "arm64") { unminitSignals() } getg().m.procid = 0 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:34:30 UTC 2023 - 11.9K bytes - Viewed (0) -
src/runtime/sys_plan9_arm.s
MOVW R0, g_stack+stack_hi(g) SUB $(64*1024), R0 MOVW R0, (g_stack+stack_lo)(g) MOVW R0, g_stackguard0(g) MOVW R0, g_stackguard1(g) // Initialize procid from TOS struct. MOVW _tos(SB), R0 MOVW 48(R0), R0 MOVW R0, m_procid(R1) // save pid as m->procid BL runtime·mstart(SB) // Exit the thread. MOVW $0, R0 MOVW R0, 4(R13) CALL runtime·exits(SB) JMP 0(PC)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 29 14:15:04 UTC 2021 - 7K bytes - Viewed (0)