- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,394 for minit (0.28 sec)
-
src/runtime/os_wasm.go
} // Called to initialize a new m (including the bootstrap m). // Called on the new thread, cannot allocate memory. func minit() { } // Called from dropm to undo the effect of an minit. func unminit() { } // 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) { } // wasm has no signals
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 3.2K bytes - Viewed (0) -
src/runtime/os_aix.go
r, _ := syscall0(&libc__Errno) mp.perrno = r } func minit() { miniterrno() minitSignals() getg().m.procid = uint64(pthread_self()) } 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) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 8.9K bytes - Viewed (0) -
src/runtime/os_dragonfly.go
// Called on the new thread, cannot allocate memory. func minit() { getg().m.procid = uint64(lwp_gettid()) 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.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:34:30 UTC 2023 - 7.1K bytes - Viewed (0) -
src/runtime/cgo/gcc_netbsd.c
ts = *(ThreadStart*)v; free(v); // 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: Tue Aug 15 03:55:51 UTC 2023 - 1.7K bytes - Viewed (0) -
src/runtime/cgo/gcc_windows_amd64.c
} extern void crosscall1(void (*fn)(void), void (*setg_gcc)(void*), void *g); static void threadentry(void *v) { ThreadStart ts; ts = *(ThreadStart*)v; free(v); // minit queries stack bounds from the OS. /* * Set specific keys in thread local storage. */ asm volatile ( "movq %0, %%gs:0(%1)\n" // MOVL tls0, 0(tls_g)(GS) :: "r"(ts.tls), "r"(*tls_g) );
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Aug 12 03:56:28 UTC 2023 - 1K bytes - Viewed (0) -
src/runtime/os_openbsd.go
// Called on the new thread, can not allocate memory. func minit() { getg().m.procid = uint64(getthrid()) 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.
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/runtime/cgo/gcc_windows_386.c
} extern void crosscall1(void (*fn)(void), void (*setg_gcc)(void*), void *g); static void threadentry(void *v) { ThreadStart ts; ts = *(ThreadStart*)v; free(v); // minit queries stack bounds from the OS. /* * Set specific keys in thread local storage. */ asm volatile ( "movl %0, %%fs:0(%1)\n" // MOVL tls0, 0(tls_g)(FS) "movl %%fs:0(%1), %%eax\n" // MOVL 0(tls_g)(FS), tmp
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Aug 12 03:56:58 UTC 2023 - 1.1K bytes - Viewed (0) -
src/runtime/os_openbsd_syscall.go
} // Stack pointer must point inside stack area (as marked with MAP_STACK), // rather than at the top of it. param := tforkt{ tf_tcb: unsafe.Pointer(&mp.tls[0]), tf_tid: nil, // minit will record tid tf_stack: uintptr(stk) - goarch.PtrSize, } var oset sigset sigprocmask(_SIG_SETMASK, &sigset_all, &oset) ret := retryOnEAGAIN(func() int32 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 10 20:44:45 UTC 2022 - 1.4K bytes - Viewed (0) -
src/runtime/sys_solaris_amd64.s
TEXT runtime·settls(SB),NOSPLIT,$8 RET // void libc_miniterrno(void *(*___errno)(void)); // // Set the TLS errno pointer in M. // // Called using runtime·asmcgocall from os_solaris.c:/minit. // NOT USING GO CALLING CONVENTION. TEXT runtime·miniterrno(SB),NOSPLIT,$0 // asmcgocall will put first argument into DI. CALL DI // SysV ABI so returns in AX get_tls(CX) MOVQ g(CX), BX MOVQ g_m(BX), BX
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 21 19:29:00 UTC 2023 - 6.4K bytes - Viewed (0) -
internal/init/init.go
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Nov 04 23:44:38 UTC 2022 - 874 bytes - Viewed (0)