Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for pthread_attr_getstacksize (0.72 sec)

  1. src/runtime/os_darwin.go

    	var err int32
    	err = pthread_attr_init(&attr)
    	if err != 0 {
    		writeErrStr(failthreadcreate)
    		exit(1)
    	}
    
    	// Find out OS stack size for our own stack guard.
    	var stacksize uintptr
    	if pthread_attr_getstacksize(&attr, &stacksize) != 0 {
    		writeErrStr(failthreadcreate)
    		exit(1)
    	}
    	mp.g0.stack.hi = stacksize // for mstart
    
    	// Tell the pthread library we won't join with this thread.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  2. src/runtime/os2_aix.go

    	return int32(r)
    }
    
    //go:nosplit
    func pthread_attr_getstacksize(attr *pthread_attr, size *uint64) int32 {
    	r, _ := syscall2(&libpthread_attr_getstacksize, uintptr(unsafe.Pointer(attr)), uintptr(unsafe.Pointer(size)))
    	return int32(r)
    }
    
    func pthread_attr_setstacksize1(attr uintptr, size uint64) int32
    
    //go:nosplit
    func pthread_attr_setstacksize(attr *pthread_attr, size uint64) int32 {
    	gp := getg()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 20.9K bytes
    - Viewed (0)
  3. src/runtime/sys_darwin.go

    	KeepAlive(attr)
    	return ret
    }
    func pthread_attr_init_trampoline()
    
    //go:nosplit
    //go:cgo_unsafe_args
    func pthread_attr_getstacksize(attr *pthreadattr, size *uintptr) int32 {
    	ret := libcCall(unsafe.Pointer(abi.FuncPCABI0(pthread_attr_getstacksize_trampoline)), unsafe.Pointer(&attr))
    	KeepAlive(attr)
    	KeepAlive(size)
    	return ret
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 23.9K bytes
    - Viewed (0)
Back to top