- Sort Score
- Result 10 results
- Languages All
Results 11 - 14 of 14 for x_crosscall2_ptr (0.35 sec)
-
src/runtime/cgo/asm_riscv64.s
#include "textflag.h" // Set the x_crosscall2_ptr C function pointer variable point to crosscall2. // It's such a pointer chain: _crosscall2_ptr -> x_crosscall2_ptr -> crosscall2 // Use a local trampoline, to avoid taking the address of a dynamically exported // function. TEXT ·set_crosscall2(SB),NOSPLIT,$0-0 MOV _crosscall2_ptr(SB), X7 MOV $crosscall2_trampoline<>(SB), X8 MOV X8, (X7) RET
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 12 00:43:51 UTC 2023 - 2.3K bytes - Viewed (0) -
src/runtime/cgo/gcc_libinit.c
} return EAGAIN; } static void pthread_key_destructor(void* g) { if (x_crosscall2_ptr != NULL) { // fn == NULL means dropm. // We restore g by using the stored g, before dropm in runtime.cgocallback, // since the g stored in the TLS by Go might be cleared in some platforms, // before this destructor invoked. x_crosscall2_ptr(NULL, g, 0, 0); }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 01:07:18 UTC 2024 - 5.8K bytes - Viewed (0) -
src/runtime/cgo/gcc_libinit_windows.c
static volatile LONG runtime_init_once_done = 0; static CRITICAL_SECTION runtime_init_cs; static HANDLE runtime_init_wait; static int runtime_init_done; uintptr_t x_cgo_pthread_key_created; void (*x_crosscall2_ptr)(void (*fn)(void *), void *, int, size_t); // Pre-initialize the runtime synchronization objects void _cgo_preinit_init() { runtime_init_wait = CreateEvent(NULL, TRUE, FALSE, NULL);
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 17 21:53:11 UTC 2023 - 4.2K bytes - Viewed (0) -
src/runtime/proc.go
} if _cgo_unsetenv == nil { throw("_cgo_unsetenv missing") } } if _cgo_notify_runtime_init_done == nil { throw("_cgo_notify_runtime_init_done missing") } // Set the x_crosscall2_ptr C function pointer variable point to crosscall2. if set_crosscall2 == nil { throw("set_crosscall2 missing") } set_crosscall2() // Start the template thread in case we enter Go from
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 207.5K bytes - Viewed (0)