- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for osyield1 (0.18 sec)
-
src/runtime/os3_solaris.go
r1, err := sysvicall3Err(&libc_fcntl, uintptr(fd), uintptr(cmd), uintptr(arg)) return int32(r1), int32(err) } func osyield1() //go:nosplit func osyield_no_g() { osyield1() } //go:nosplit func osyield() { sysvicall0(&libc_sched_yield) } //go:linkname executablePath os.executablePath var executablePath string
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/os2_aix.go
} syscall2(&libc_kill, pid, uintptr(sig)) } func osyield1() //go:nosplit func osyield_no_g() { osyield1() } //go:nosplit func osyield() { r, err := syscall0(&libc_sched_yield) if int32(r) == -1 { println("syscall osyield failed: ", hex(err)) throw("syscall osyield") } } //go:nosplit func sysconf(name int32) uintptr {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 20.9K bytes - Viewed (0) -
src/runtime/os_netbsd.go
//go:noescape func lwp_unpark(lwp int32, hint unsafe.Pointer) int32 func lwp_self() int32 func osyield() //go:nosplit func osyield_no_g() { osyield() } func kqueue() int32 //go:noescape func kevent(kq int32, ch *keventt, nch int32, ev *keventt, nev int32, ts *timespec) int32 func pipe2(flags int32) (r, w int32, errno int32)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 10.1K bytes - Viewed (0) -
src/runtime/os_plan9.go
return 0 } func initsig(preinit bool) { if !preinit { notify(unsafe.Pointer(abi.FuncPCABI0(sigtramp))) } } //go:nosplit func osyield() { sleep(0) } //go:nosplit func osyield_no_g() { osyield() } //go:nosplit func usleep(µs uint32) { ms := int32(µs / 1000) if ms == 0 { ms = 1 } sleep(ms) } //go:nosplit
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/os_freebsd.go
func thr_self() thread func thr_kill(tid thread, sig int) //go:noescape func sys_umtx_op(addr *uint32, mode int32, val uint32, uaddr1 uintptr, ut *umtx_time) int32 func osyield() //go:nosplit func osyield_no_g() { osyield() } func kqueue() int32 //go:noescape func kevent(kq int32, ch *keventt, nch int32, ev *keventt, nev int32, ts *timespec) int32 func pipe2(flags int32) (r, w int32, errno int32)
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/signal_unix.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 10 16:04:54 UTC 2024 - 45K bytes - Viewed (0) -
src/runtime/os_linux.go
} func raise(sig uint32) func raiseproc(sig uint32) //go:noescape func sched_getaffinity(pid, len uintptr, buf *byte) int32 func osyield() //go:nosplit func osyield_no_g() { osyield() } func pipe2(flags int32) (r, w int32, errno int32) //go:nosplit func fcntl(fd, cmd, arg int32) (ret int32, errno int32) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 25.9K bytes - Viewed (0) -
src/runtime/os_darwin.go
// resources in minit, semacreate, or elsewhere. Do not take locks after calling this. func mdestroy(mp *m) { } //go:nosplit func osyield_no_g() { usleep_no_g(1) } //go:nosplit func osyield() { usleep(1) } const ( _NSIG = 32 _SI_USER = 0 /* empirically true, but not what headers say */ _SIG_BLOCK = 1 _SIG_UNBLOCK = 2 _SIG_SETMASK = 3 _SS_DISABLE = 4 )
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/preempt.go
// that the goroutine is suspended. if i == 0 { nextYield = nanotime() + yieldDelay } if nanotime() < nextYield { procyield(10) } else { osyield() nextYield = nanotime() + yieldDelay/2 } } } // resumeG undoes the effects of suspendG, allowing the suspended // goroutine to continue from its current safe-point.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 15:41:45 UTC 2024 - 15.1K bytes - Viewed (0) -
src/runtime/sys_linux_riscv64.s
TEXT runtime·sigaltstack(SB),NOSPLIT|NOFRAME,$0 MOV new+0(FP), A0 MOV old+8(FP), A1 MOV $SYS_sigaltstack, A7 ECALL MOV $-4096, T0 BLTU A0, T0, 2(PC) WORD $0 // crash RET // func osyield() TEXT runtime·osyield(SB),NOSPLIT|NOFRAME,$0 MOV $SYS_sched_yield, A7 ECALL RET // func sched_getaffinity(pid, len uintptr, buf *uintptr) int32 TEXT runtime·sched_getaffinity(SB),NOSPLIT|NOFRAME,$0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 09 13:57:06 UTC 2023 - 11.5K bytes - Viewed (0)