- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 38 for setg_gcc (0.11 sec)
-
src/runtime/cgo/gcc_windows_386.c
static void threadentry(void*); static void (*setg_gcc)(void*); static DWORD *tls_g; void x_cgo_init(G *g, void (*setg)(void*), void **tlsg, void **tlsbase) { setg_gcc = setg; tls_g = (DWORD *)tlsg; } void _cgo_sys_thread_start(ThreadStart *ts) { _cgo_beginthread(threadentry, ts); } extern void crosscall1(void (*fn)(void), void (*setg_gcc)(void*), void *g); static void threadentry(void *v) {
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/cgo/gcc_loong64.S
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. .file "gcc_loong64.S" /* * void crosscall1(void (*fn)(void), void (*setg_gcc)(void *g), void *g) * * Calling into the gc tool chain, where all registers are caller save. * Called from standard lp64d ABI, where $r1, $r3, $r23-$r30, and $f24-$f31
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 05 18:57:04 UTC 2022 - 1.5K bytes - Viewed (0) -
src/runtime/cgo/gcc_darwin_amd64.c
#include <string.h> /* for strerror */ #include <pthread.h> #include <signal.h> #include "libcgo.h" #include "libcgo_unix.h" static void* threadentry(void*); 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); } void _cgo_sys_thread_start(ThreadStart *ts) { pthread_attr_t attr; sigset_t ign, oset; pthread_t p;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Aug 12 03:56:28 UTC 2023 - 1.3K bytes - Viewed (0) -
src/runtime/cgo/gcc_linux.c
#include "libcgo.h" #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
if (err != 0) { fatalf("pthread_create failed: %s", strerror(err)); } } extern void crosscall1(void (*fn)(void), void (*setg_gcc)(void*), void *g); static void* threadentry(void *v) { ThreadStart ts; ts = *(ThreadStart*)v; free(v); crosscall1(ts.fn, setg_gcc, (void*)ts.g); return nil; } void x_cgo_init(G *g, void (*setg)(void*), void **tlsg, void **tlsbase) { uintptr *pbounds;
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_netbsd.c
#include <sys/types.h> #include <pthread.h> #include <signal.h> #include <string.h> #include "libcgo.h" #include "libcgo_unix.h" static void* threadentry(void*); static void (*setg_gcc)(void*); void x_cgo_init(G *g, void (*setg)(void*)) { setg_gcc = setg; _cgo_set_stacklo(g, NULL); } void _cgo_sys_thread_start(ThreadStart *ts) { pthread_attr_t attr; sigset_t ign, oset; pthread_t p; size_t size;
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_linux_s390x.c
#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 _cgo_sys_thread_start(ThreadStart *ts) { pthread_attr_t attr; sigset_t ign, oset; pthread_t p;
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
#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 _cgo_sys_thread_start(ThreadStart *ts) { pthread_attr_t attr; sigset_t ign, oset; pthread_t p;
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_solaris_amd64.c
#include <string.h> #include <signal.h> #include <ucontext.h> #include "libcgo.h" #include "libcgo_unix.h" static void* threadentry(void*); static void (*setg_gcc)(void*); void x_cgo_init(G *g, void (*setg)(void*)) { ucontext_t ctx; setg_gcc = setg; if (getcontext(&ctx) != 0) perror("runtime/cgo: getcontext failed"); g->stacklo = (uintptr_t)ctx.uc_stack.ss_sp;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 15 14:57:16 UTC 2023 - 2K bytes - Viewed (0) -
src/runtime/cgo/gcc_darwin_arm64.c
abort(); } } extern void crosscall1(void (*fn)(void), void (*setg_gcc)(void*), void *g); static void* threadentry(void *v) { ThreadStart ts; ts = *(ThreadStart*)v; free(v); #if TARGET_OS_IPHONE darwin_arm_init_thread_exception_port(); #endif crosscall1(ts.fn, setg_gcc, (void*)ts.g); return nil; } #if TARGET_OS_IPHONE
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 09 03:13:11 UTC 2023 - 3.6K bytes - Viewed (0)