- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for pthread_getspecific (0.28 sec)
-
src/runtime/race/race_darwin_amd64.go
//go:cgo_import_dynamic pthread_get_stackaddr_np pthread_get_stackaddr_np "" //go:cgo_import_dynamic pthread_get_stacksize_np pthread_get_stacksize_np "" //go:cgo_import_dynamic pthread_getspecific pthread_getspecific "" //go:cgo_import_dynamic pthread_introspection_hook_install pthread_introspection_hook_install "" //go:cgo_import_dynamic pthread_join pthread_join "" //go:cgo_import_dynamic pthread_self pthread_self ""
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 16 19:29:22 UTC 2023 - 5.6K bytes - Viewed (0) -
src/runtime/race/race_darwin_arm64.go
//go:cgo_import_dynamic pthread_get_stackaddr_np pthread_get_stackaddr_np "" //go:cgo_import_dynamic pthread_get_stacksize_np pthread_get_stacksize_np "" //go:cgo_import_dynamic pthread_getspecific pthread_getspecific "" //go:cgo_import_dynamic pthread_introspection_hook_install pthread_introspection_hook_install "" //go:cgo_import_dynamic pthread_join pthread_join "" //go:cgo_import_dynamic pthread_self pthread_self ""
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 16 19:29:22 UTC 2023 - 5.6K bytes - Viewed (0) -
testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-port.h
static_cast<ThreadLocalValueHolderBase*>(pthread_getspecific(key_)); if (holder != NULL) { return CheckedDowncastToActualType<ValueHolder>(holder)->pointer(); } ValueHolder* const new_holder = new ValueHolder(default_); ThreadLocalValueHolderBase* const holder_base = new_holder; GTEST_CHECK_POSIX_SUCCESS_(pthread_setspecific(key_, holder_base)); return new_holder->pointer(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 67.2K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-port.h
static_cast<ThreadLocalValueHolderBase*>(pthread_getspecific(key_)); if (holder != NULL) { return CheckedDowncastToActualType<ValueHolder>(holder)->pointer(); } ValueHolder* const new_holder = new ValueHolder(default_); ThreadLocalValueHolderBase* const holder_base = new_holder; GTEST_CHECK_POSIX_SUCCESS_(pthread_setspecific(key_, holder_base)); return new_holder->pointer(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 67.2K bytes - Viewed (0) -
src/runtime/cgo/gcc_android.c
fatalf("tlsg offset wrong, got %ld want %ld\n", *tlsg, off); } return; } err = pthread_key_create(&k, nil); if(err != 0) { fatalf("pthread_key_create failed: %d", err); } pthread_setspecific(k, (void*)magic1); // If thread local slots are laid out as we expect, our magic word will // be located at some low offset from tlsbase. However, just in case something went
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 09 23:17:17 UTC 2020 - 2.6K bytes - Viewed (0) -
src/runtime/sys_darwin_arm64.go
} func pthread_setspecific_trampoline() //go:cgo_import_dynamic libc_pthread_key_create pthread_key_create "/usr/lib/libSystem.B.dylib" //go:cgo_import_dynamic libc_pthread_setspecific pthread_setspecific "/usr/lib/libSystem.B.dylib" // tlsinit allocates a thread-local storage slot for g. // // It finds the first available slot using pthread_key_create and uses // it as the offset value for runtime.tlsg. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 30 03:11:18 UTC 2021 - 1.7K bytes - Viewed (0) -
src/runtime/testdata/testprogcgo/lockosthread.go
subThread = C.pthread_self() // Register a pthread destructor so we can tell this // thread has exited. var key C.pthread_key_t C.pthread_key_create(&key, (*[0]byte)(unsafe.Pointer(C.setExited))) C.pthread_setspecific(key, unsafe.Pointer(new(int))) ready <- true // Exit with the thread locked. }() <-ready for { time.Sleep(1 * time.Millisecond) // Check that this goroutine is running on a different thread.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 02 20:21:33 UTC 2023 - 2.5K bytes - Viewed (0) -
src/runtime/cgo/gcc_libinit.c
// when a C thread exits after a cgo call. // We only invoke this function once per thread in runtime.needAndBindM, // and the next calls just reuse the bound m. pthread_setspecific(pthread_g, g); } void x_cgo_notify_runtime_init_done(void* dummy __attribute__ ((unused))) { pthread_mutex_lock(&runtime_init_mu); __atomic_store_n(&runtime_init_done, 1, __ATOMIC_RELEASE);
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 01:07:18 UTC 2024 - 5.8K bytes - Viewed (0)