Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for __thrsleep (0.59 sec)

  1. src/runtime/sys_openbsd1.go

    }
    func sched_yield_trampoline()
    
    //go:nosplit
    func osyield_no_g() {
    	asmcgocall_no_g(unsafe.Pointer(abi.FuncPCABI0(sched_yield_trampoline)), unsafe.Pointer(nil))
    }
    
    //go:cgo_import_dynamic libc_thrsleep __thrsleep "libc.so"
    //go:cgo_import_dynamic libc_thrwakeup __thrwakeup "libc.so"
    //go:cgo_import_dynamic libc_sched_yield sched_yield "libc.so"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 30 03:11:18 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  2. 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)
  3. 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)
Back to top