- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for getTid (0.24 sec)
-
src/cmd/cgo/internal/test/cgo_thread_lock.go
//go:build linux package cgotest /* #include <unistd.h> #include <stdbool.h> #include <sys/syscall.h> void Gosched(void); static bool Ctid(void) { long tid1 = syscall(SYS_gettid); Gosched(); return tid1 == syscall(SYS_gettid); } */ import "C" import ( "runtime" "testing" "time" ) //export Gosched func Gosched() { runtime.Gosched() } func init() {
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Thu May 18 16:55:07 GMT 2023 - 939 bytes - Viewed (0) -
misc/wasm/wasm_exec.js
utimes(path, atime, mtime, callback) { callback(enosys()); }, }; } if (!globalThis.process) { globalThis.process = { getuid() { return -1; }, getgid() { return -1; }, geteuid() { return -1; }, getegid() { return -1; }, getgroups() { throw enosys(); }, pid: -1, ppid: -1, umask() { throw enosys(); }, cwd() { throw enosys(); }, chdir() { throw enosys(); },
JavaScript - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon May 22 17:47:47 GMT 2023 - 16.3K bytes - Viewed (1) -
api/go1.13.txt
pkg syscall (netbsd-arm64-cgo), const SYS_GETPGID = 207 pkg syscall (netbsd-arm64-cgo), const SYS_GETPGID ideal-int pkg syscall (netbsd-arm64-cgo), const SYS_GETPGRP = 81 pkg syscall (netbsd-arm64-cgo), const SYS_GETPGRP ideal-int pkg syscall (netbsd-arm64-cgo), const SYS_GETPID = 20 pkg syscall (netbsd-arm64-cgo), const SYS_GETPID ideal-int pkg syscall (netbsd-arm64-cgo), const SYS_GETPPID = 39
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu Aug 08 18:44:16 GMT 2019 - 452.6K bytes - Viewed (0) -
api/go1.txt
pkg os, func FindProcess(int) (*Process, error) pkg os, func Getegid() int pkg os, func Getenv(string) string pkg os, func Geteuid() int pkg os, func Getgid() int pkg os, func Getgroups() ([]int, error) pkg os, func Getpagesize() int pkg os, func Getpid() int pkg os, func Getppid() int pkg os, func Getuid() int pkg os, func Getwd() (string, error) pkg os, func Hostname() (string, error)
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Wed Aug 14 18:58:28 GMT 2013 - 1.7M bytes - Viewed (1) -
api/go1.16.txt
pkg syscall (darwin-arm64-cgo), const SYS_GETPGRP = 81 pkg syscall (darwin-arm64-cgo), const SYS_GETPGRP ideal-int pkg syscall (darwin-arm64-cgo), const SYS_GETPID = 20 pkg syscall (darwin-arm64-cgo), const SYS_GETPID ideal-int pkg syscall (darwin-arm64-cgo), const SYS_GETPPID = 39 pkg syscall (darwin-arm64-cgo), const SYS_GETPPID ideal-int pkg syscall (darwin-arm64-cgo), const SYS_GETPRIORITY = 100
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Fri Dec 02 16:30:41 GMT 2022 - 479.2K bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue1435.go
{call: "Setuid(0)", fn: func() error { return syscall.Setuid(0) }, filter: "Uid:", expect: "\t0\t0\t0\t0"}, {call: "Setgid(1)", fn: func() error { return syscall.Setgid(1) }, filter: "Gid:", expect: "\t1\t1\t1\t1"}, {call: "Setgid(0)", fn: func() error { return syscall.Setgid(0) }, filter: "Gid:", expect: "\t0\t0\t0\t0"},
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri Jul 28 21:31:41 GMT 2023 - 7.5K bytes - Viewed (0) -
api/go1.14.txt
pkg syscall (freebsd-arm64), const SYS_GETPGID = 207 pkg syscall (freebsd-arm64), const SYS_GETPGID ideal-int pkg syscall (freebsd-arm64), const SYS_GETPGRP = 81 pkg syscall (freebsd-arm64), const SYS_GETPGRP ideal-int pkg syscall (freebsd-arm64), const SYS_GETPID = 20 pkg syscall (freebsd-arm64), const SYS_GETPID ideal-int pkg syscall (freebsd-arm64), const SYS_GETPPID = 39
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Fri Feb 17 20:31:46 GMT 2023 - 508.9K bytes - Viewed (0) -
api/go1.20.txt
pkg syscall (freebsd-riscv64), const SYS_GETPGID = 207 #53466 pkg syscall (freebsd-riscv64), const SYS_GETPGID ideal-int #53466 pkg syscall (freebsd-riscv64), const SYS_GETPGRP = 81 #53466 pkg syscall (freebsd-riscv64), const SYS_GETPGRP ideal-int #53466 pkg syscall (freebsd-riscv64), const SYS_GETPID = 20 #53466 pkg syscall (freebsd-riscv64), const SYS_GETPID ideal-int #53466
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Fri Feb 17 21:23:32 GMT 2023 - 602.6K bytes - Viewed (0) -
api/go1.1.txt
pkg syscall (darwin-386), const SYS_GETPGRP = 81 pkg syscall (darwin-386), const SYS_GETPID = 20 pkg syscall (darwin-386), const SYS_GETPPID = 39 pkg syscall (darwin-386), const SYS_GETPRIORITY = 100 pkg syscall (darwin-386), const SYS_GETRLIMIT = 194 pkg syscall (darwin-386), const SYS_GETRUSAGE = 117 pkg syscall (darwin-386), const SYS_GETSGROUPS = 288 pkg syscall (darwin-386), const SYS_GETSID = 310
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu Mar 31 20:37:15 GMT 2022 - 2.6M bytes - Viewed (0) -
misc/go_android_exec/main.go
// Binary names can conflict. // E.g. template.test from the {html,text}/template packages. binName := filepath.Base(os.Args[1]) deviceGotmp := fmt.Sprintf(deviceRoot+"/%s-%d", binName, os.Getpid()) deviceGopath := deviceGotmp + "/gopath" defer adb("exec-out", "rm", "-rf", deviceGotmp) // Clean up. // Determine the package by examining the current working // directory, which will look something like
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Aug 21 17:46:57 GMT 2023 - 15.3K bytes - Viewed (0)