- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 113 for osinit (0.11 sec)
-
src/runtime/os_netbsd.go
// created thread. On NetBSD, a new thread inherits the signal stack // of the creating thread. That confuses minit, so we remove that // signal stack here before calling the regular mstart. It's a bit // baroque to remove a signal stack here only to add one in minit, but // it's a simple change that keeps NetBSD working like other OS's. // At this point all signals are blocked, so there is no race. //
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_darwin.go
// Called on the new thread, cannot allocate memory. func minit() { // iOS does not support alternate signal stack. // The signal handler handles it directly. if !(GOOS == "ios" && GOARCH == "arm64") { minitSignalStack() } minitSignalMask() getg().m.procid = uint64(pthread_self()) } // Called from dropm to undo the effect of an minit. // //go:nosplit func unminit() {
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/os_plan9.go
// Called on the new thread, cannot allocate memory. func minit() { if atomic.Load(&exiting) != 0 { exits(&emptystatus[0]) } // Mask all SSE floating-point exceptions // when running on the 64-bit kernel. setfpmasks() } // Called from dropm to undo the effect of an minit. func unminit() { }
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
sigaltstack(&st, nil) } minitSignals() } // Called from dropm to undo the effect of an minit. // //go:nosplit func unminit() { unminitSignals() getg().m.procid = 0 } // Called from exitm, but not from drop, to undo the effect of thread-owned // resources in minit, semacreate, or elsewhere. Do not take locks after calling this. func mdestroy(mp *m) { } func sigtramp()
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/os3_solaris.go
func getPageSize() uintptr { n := int32(sysconf(__SC_PAGESIZE)) if n <= 0 { return 0 } return uintptr(n) } func osinit() { // Call miniterrno so that we can safely make system calls // before calling minit on m0. asmcgocall(unsafe.Pointer(abi.FuncPCABI0(miniterrno)), unsafe.Pointer(&libc____errno)) ncpu = getncpu() if physPageSize == 0 { physPageSize = getPageSize()
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/signal_unix.go
} // sigsetAllExiting is used by sigblock(true) when a thread is // exiting. var sigsetAllExiting = func() sigset { res := sigset_all // Apply GOOS-specific overrides here, rather than in osinit, // because osinit may be called before sigsetAllExiting is // initialized (#51913). if GOOS == "linux" && iscgo { // #42494 glibc and musl reserve some signals for // internal use and require they not be blocked by
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
// Called on the new thread, cannot allocate memory. func minit() { minitSignals() // Cgo-created threads and the bootstrap m are missing a // procid. We need this for asynchronous preemption and it's // useful in debuggers. getg().m.procid = uint64(gettid()) } // Called from dropm to undo the effect of an minit. // //go:nosplit func unminit() { unminitSignals()
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/malloc.go
// physPageSize. // // This must be set by the OS init code (typically in osinit) before // mallocinit. var physPageSize uintptr // physHugePageSize is the size in bytes of the OS's default physical huge // page size whose allocation is opaque to the application. It is assumed // and verified to be a power of two. // // If set, this must be set by the OS init code (typically in osinit) before
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 59.6K bytes - Viewed (0) -
src/runtime/os_windows.go
// Called on the new thread, cannot allocate Go memory. func minit() { var thandle uintptr if stdcall7(_DuplicateHandle, currentProcess, currentThread, currentProcess, uintptr(unsafe.Pointer(&thandle)), 0, 0, _DUPLICATE_SAME_ACCESS) == 0 { print("runtime.minit: duplicatehandle failed; errno=", getlasterror(), "\n") throw("runtime.minit: duplicatehandle failed") } mp := getg().m lock(&mp.threadLock)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 22:55:25 UTC 2024 - 41.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java
return processRequest(uri, true); } protected ResponseData processRequest(final String uri, final boolean includeContent) { if (!isInit.get()) { synchronized (isInit) { if (!isInit.get()) { init(); isInit.set(true); } } } // start AccessTimeoutTarget accessTimeoutTarget = null;
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 11.8K bytes - Viewed (0)