- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 636 for ptid (0.04 sec)
-
src/runtime/sys_linux_mipsx.s
MOVW $SYS_getpid, R2 SYSCALL MOVW R2, R16 MOVW $SYS_gettid, R2 SYSCALL MOVW R2, R5 // arg 2 tid MOVW R16, R4 // arg 1 pid MOVW sig+0(FP), R6 // arg 3 MOVW $SYS_tgkill, R2 SYSCALL RET TEXT runtime·raiseproc(SB),NOSPLIT,$0 MOVW $SYS_getpid, R2 SYSCALL MOVW R2, R4 // arg 1 pid MOVW sig+0(FP), R5 // arg 2 MOVW $SYS_kill, R2 SYSCALL RET TEXT ·getpid(SB),NOSPLIT,$0-4
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 18 20:57:24 UTC 2022 - 9.7K bytes - Viewed (0) -
src/runtime/runtime-gdb.py
# Otherwise, the goroutine is running, so it doesn't have # saved scheduler state. Find G's OS thread. m = ptr['m'] if m == 0: return None, None for thr in gdb.selected_inferior().threads(): if thr.ptid[1] == m['procid']: break else: return None, None # Get scheduler state from the G's OS thread state. curthr = gdb.selected_thread() try: thr.switch() pc = gdb.parse_and_eval('$pc')
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 10 12:59:20 UTC 2023 - 15.4K bytes - Viewed (0) -
src/syscall/exec_linux.go
// Signal self if parent is already dead. This might cause a // duplicate signal in rare cases, but it won't matter when // using SIGKILL. pid, _ = rawSyscallNoError(SYS_GETPPID, 0, 0, 0) if pid != ppid { pid, _ = rawSyscallNoError(SYS_GETPID, 0, 0, 0) _, _, err1 = RawSyscall(SYS_KILL, pid, uintptr(sys.Pdeathsig), 0) if err1 != 0 { goto childerror } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 07:45:37 UTC 2024 - 23K bytes - Viewed (0) -
src/syscall/exec_freebsd.go
Chroot string // Chroot. Credential *Credential // Credential. Ptrace bool // Enable tracing. Setsid bool // Create session. // Setpgid sets the process group ID of the child to Pgid, // or, if Pgid == 0, to the new child's process ID. Setpgid bool // Setctty sets the controlling terminal of the child to // file descriptor Ctty. Ctty must be a descriptor number
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 29 18:51:35 UTC 2023 - 8.4K bytes - Viewed (0) -
src/syscall/exec_unix_test.go
"strconv" "syscall" "testing" "time" ) type command struct { pipe io.WriteCloser proc *exec.Cmd test *testing.T } func (c *command) Info() (pid, pgrp int) { pid = c.proc.Process.Pid pgrp, err := syscall.Getpgid(pid) if err != nil { c.test.Fatal(err) } return } func (c *command) Start() { if err := c.proc.Start(); err != nil { c.test.Fatal(err) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 22 04:41:27 UTC 2024 - 7.9K bytes - Viewed (0) -
src/internal/coverage/pkid.go
Andy Pan <******@****.***> 1706754074 +0800
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 3.1K bytes - Viewed (0) -
src/syscall/syscall_openbsd.go
//sysnb Geteuid() (uid int) //sysnb Getgid() (gid int) //sysnb Getpgid(pid int) (pgid int, err error) //sysnb Getpgrp() (pgrp int) //sysnb Getpid() (pid int) //sysnb Getppid() (ppid int) //sys Getpriority(which int, who int) (prio int, err error) //sysnb Getrlimit(which int, lim *Rlimit) (err error) //sysnb Getrusage(who int, rusage *Rusage) (err error) //sysnb Getsid(pid int) (sid int, err error) //sysnb Gettimeofday(tv *Timeval) (err error)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 02 10:34:00 UTC 2023 - 7K bytes - Viewed (0) -
src/syscall/exec_aix_test.go
pgrp = int(r0) return } func Tcgetpgrp(fd int) (pgid int32, err error) { if errno := ioctlPtr(uintptr(fd), TIOCGPGRP, unsafe.Pointer(&pgid)); errno != 0 { return -1, errno } return pgid, nil } func Tcsetpgrp(fd int, pgid int32) (err error) { return ioctlPtr(uintptr(fd), TIOCSPGRP, unsafe.Pointer(&pgid))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 22 04:41:27 UTC 2024 - 1.1K bytes - Viewed (0) -
src/syscall/zsyscall_linux_s390x.go
func Getpgid(pid int) (pgid int, err error) { r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0) pgid = int(r0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Getpid() (pid int) { r0, _ := rawSyscallNoError(SYS_GETPID, 0, 0, 0) pid = int(r0) return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 08 17:55:49 UTC 2023 - 35.3K bytes - Viewed (0) -
src/syscall/syscall_netbsd.go
//sysnb Geteuid() (uid int) //sysnb Getgid() (gid int) //sysnb Getpgid(pid int) (pgid int, err error) //sysnb Getpgrp() (pgrp int) //sysnb Getpid() (pid int) //sysnb Getppid() (ppid int) //sys Getpriority(which int, who int) (prio int, err error) //sysnb Getrlimit(which int, lim *Rlimit) (err error) //sysnb Getrusage(who int, rusage *Rusage) (err error) //sysnb Getsid(pid int) (sid int, err error) //sysnb Gettimeofday(tv *Timeval) (err error)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 20 18:12:35 UTC 2023 - 7.8K bytes - Viewed (0)