- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for threadEntry (0.2 sec)
-
src/runtime/cgo/gcc_freebsd.c
ts->g->stackhi = size; err = _cgo_try_pthread_create(&p, &attr, threadentry, ts); pthread_sigmask(SIG_SETMASK, &oset, nil); 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);
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 15 03:40:00 UTC 2023 - 1.5K bytes - Viewed (0) -
src/runtime/cgo/gcc_windows_arm64.c
#include "libcgo_windows.h" static void threadentry(void*); static void (*setg_gcc)(void*); void x_cgo_init(G *g, void (*setg)(void*)) { setg_gcc = setg; } 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) { ThreadStart ts;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 09 18:17:39 UTC 2022 - 764 bytes - Viewed (0) -
src/runtime/cgo/gcc_windows_amd64.c
#include "libcgo.h" #include "libcgo_windows.h" 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); }
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/testdata/testprogcgo/bigstack_windows.c
bigStackCallback(x); } else { useStack(bytes - sizeof x); } } static DWORD WINAPI threadEntry(LPVOID lpParam) { useStack(STACK_SIZE - (128<<10)); return 0; } void bigStack(callback *cb) { bigStackCallback = cb; HANDLE hThread = CreateThread(NULL, STACK_SIZE, threadEntry, NULL, STACK_SIZE_PARAM_IS_A_RESERVATION, NULL); if (hThread == NULL) { fprintf(stderr, "CreateThread failed\n");
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jul 02 15:18:26 UTC 2018 - 1.2K bytes - Viewed (0) -
src/runtime/cgo/gcc_linux_amd64.c
ts->g->stackhi = size; err = _cgo_try_pthread_create(&p, &attr, threadentry, ts); pthread_sigmask(SIG_SETMASK, &oset, nil); 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; _cgo_tsan_acquire();
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_s390x.c
ts->g->stackhi = size; err = _cgo_try_pthread_create(&p, &attr, threadentry, ts); pthread_sigmask(SIG_SETMASK, &oset, nil); if (err != 0) { fatalf("pthread_create failed: %s", strerror(err)); } } extern void crosscall_s390x(void (*fn)(void), void *g); static void* threadentry(void *v) { ThreadStart ts; ts = *(ThreadStart*)v; free(v);
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
ts->g->stackhi = size; err = _cgo_try_pthread_create(&p, &attr, threadentry, ts); pthread_sigmask(SIG_SETMASK, &oset, nil); if (err != 0) { fatalf("pthread_create failed: %s", strerror(err)); } } extern void crosscall_ppc64(void (*fn)(void), void *g); static void* threadentry(void *v) { ThreadStart ts; ts = *(ThreadStart*)v; _cgo_tsan_acquire(); free(v);
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_freebsd_amd64.c
ts->g->stackhi = size; err = _cgo_try_pthread_create(&p, &attr, threadentry, ts); pthread_sigmask(SIG_SETMASK, &oset, nil); 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; _cgo_tsan_acquire();
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 22:06:46 UTC 2023 - 1.5K bytes - Viewed (0) -
src/runtime/cgo/gcc_linux_arm64.c
ts->g->stackhi = size; err = _cgo_try_pthread_create(&p, &attr, threadentry, ts); pthread_sigmask(SIG_SETMASK, &oset, nil); 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);
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_dragonfly_amd64.c
ts->g->stackhi = size; err = _cgo_try_pthread_create(&p, &attr, threadentry, ts); pthread_sigmask(SIG_SETMASK, &oset, nil); 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);
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 15 03:39:26 UTC 2023 - 1.2K bytes - Viewed (0)