- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for x_cgo_inittls (0.15 sec)
-
src/runtime/cgo/gcc_linux_amd64.c
setg_gcc = setg; pbounds = (uintptr*)malloc(2 * sizeof(uintptr)); if (pbounds == NULL) { fatalf("malloc failed: %s", strerror(errno)); } _cgo_set_stacklo(g, pbounds); free(pbounds); if (x_cgo_inittls) { x_cgo_inittls(tlsg, tlsbase); } } void _cgo_sys_thread_start(ThreadStart *ts) { pthread_attr_t attr; sigset_t ign, oset; pthread_t p; size_t size; int err; sigfillset(&ign);
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 22:06:46 UTC 2023 - 2.3K bytes - Viewed (0) -
src/runtime/cgo/gcc_linux.c
#include "libcgo_unix.h" static void *threadentry(void*); void (*x_cgo_inittls)(void **tlsg, void **tlsbase) __attribute__((common)); static void (*setg_gcc)(void*); void x_cgo_init(G *g, void (*setg)(void*), void **tlsg, void **tlsbase) { setg_gcc = setg; _cgo_set_stacklo(g, NULL); if (x_cgo_inittls) { x_cgo_inittls(tlsg, tlsbase); } } void _cgo_sys_thread_start(ThreadStart *ts) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 15 03:55:36 UTC 2023 - 1.4K bytes - Viewed (0) -
src/runtime/cgo/gcc_linux_arm64.c
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 22:06:46 UTC 2023 - 2.2K bytes - Viewed (0) -
src/runtime/cgo/gcc_linux_s390x.c
// license that can be found in the LICENSE file. #include <pthread.h> #include <string.h> #include <signal.h> #include "libcgo.h" #include "libcgo_unix.h" static void *threadentry(void*); void (*x_cgo_inittls)(void **tlsg, void **tlsbase); static void (*setg_gcc)(void*); void x_cgo_init(G *g, void (*setg)(void*), void **tlsbase) { setg_gcc = setg; _cgo_set_stacklo(g, NULL); } void
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 09 03:13:11 UTC 2023 - 1.3K bytes - Viewed (0) -
src/runtime/cgo/gcc_ppc64x.c
//go:build ppc64 || ppc64le #include <pthread.h> #include <string.h> #include <signal.h> #include "libcgo.h" #include "libcgo_unix.h" static void *threadentry(void*); void (*x_cgo_inittls)(void **tlsg, void **tlsbase); static void (*setg_gcc)(void*); void x_cgo_init(G *g, void (*setg)(void*), void **tlsbase) { setg_gcc = setg; _cgo_set_stacklo(g, NULL); } void
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 09 03:13:11 UTC 2023 - 1.3K bytes - Viewed (0) -
src/runtime/tls_arm.s
// this might as well result in another SIGSEGV. // Note: both functions will clobber R0 and R11 and // can be called from 5c ABI code. // On android, runtime.tls_g is a normal variable. // TLS offset is computed in x_cgo_inittls. #ifdef GOOS_android #define TLSG_IS_VARIABLE #endif // save_g saves the g register into pthread-provided // thread-local memory, so that we can call externally compiled
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 10 20:38:07 UTC 2022 - 3.5K bytes - Viewed (0)