- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for thrsleep (0.22 sec)
-
src/runtime/sys_openbsd1.go
// license that can be found in the LICENSE file. //go:build openbsd && !mips64 package runtime import ( "internal/abi" "unsafe" ) //go:nosplit //go:cgo_unsafe_args func thrsleep(ident uintptr, clock_id int32, tsp *timespec, lock uintptr, abort *uint32) int32 { ret := libcCall(unsafe.Pointer(abi.FuncPCABI0(thrsleep_trampoline)), unsafe.Pointer(&ident)) KeepAlive(tsp) KeepAlive(abort) return ret }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 30 03:11:18 UTC 2021 - 1.2K bytes - Viewed (0) -
src/runtime/os_openbsd_syscall1.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build openbsd && mips64 package runtime //go:noescape func thrsleep(ident uintptr, clock_id int32, tsp *timespec, lock uintptr, abort *uint32) int32 //go:noescape func thrwakeup(ident uintptr, n int32) int32 func osyield() //go:nosplit func osyield_no_g() { osyield()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 441 bytes - Viewed (0) -
src/runtime/os_openbsd.go
// // From OpenBSD's __thrsleep(2) manual: // "The abort argument, if not NULL, points to an int that will // be examined [...] immediately before blocking. If that int // is non-zero then __thrsleep() will immediately return EINTR // without blocking." ret := thrsleep(uintptr(unsafe.Pointer(&gp.m.waitsemacount)), _CLOCK_MONOTONIC, tsp, 0, &gp.m.waitsemacount)
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/cmd/cgo/internal/test/testx.go
/* // threads extern void doAdd(int, int); extern int callGoInCThread(int); // issue 1328 void IntoC(void); // issue 1560 extern void Issue1560InC(void); // twoSleep returns the absolute start time of the first sleep // in ms. long long twoSleep(int); // issue 3775 void lockOSThreadC(void); int usleep(unsigned usec); // issue 4054 part 2 - part 1 in test.go typedef enum { A = 0, B, C, D,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 17 21:53:11 UTC 2023 - 10.6K bytes - Viewed (0)