- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for pthread_attr_init1 (0.32 sec)
-
src/runtime/os3_solaris.go
// //go:nowritebarrier func newosproc(mp *m) { var ( attr pthreadattr oset sigset tid pthread ret int32 size uint64 ) if pthread_attr_init(&attr) != 0 { throw("pthread_attr_init") } // Allocate a new 2MB stack. if pthread_attr_setstack(&attr, 0, 0x200000) != 0 { throw("pthread_attr_setstack") } // Read back the allocated stack.
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/sys_darwin.go
// and then call the underlying libc function. They are defined in sys_darwin_$ARCH.s. //go:nosplit //go:cgo_unsafe_args func pthread_attr_init(attr *pthreadattr) int32 { ret := libcCall(unsafe.Pointer(abi.FuncPCABI0(pthread_attr_init_trampoline)), unsafe.Pointer(&attr)) KeepAlive(attr) return ret } func pthread_attr_init_trampoline()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:17:26 UTC 2024 - 23.9K bytes - Viewed (0)