- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for __atomic_load_n (0.24 sec)
-
src/cmd/cgo/internal/test/testx.c
void lockOSThreadC(void) { lockOSThreadCallback(); } void issue7978c(uint32_t *sync) { while(__atomic_load_n(sync, __ATOMIC_SEQ_CST) != 0) ; __atomic_add_fetch(sync, 1, __ATOMIC_SEQ_CST); while(__atomic_load_n(sync, __ATOMIC_SEQ_CST) != 2) ; issue7978cb(); __atomic_add_fetch(sync, 1, __ATOMIC_SEQ_CST); while(__atomic_load_n(sync, __ATOMIC_SEQ_CST) != 6) ; } void f7665(void) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 582 bytes - Viewed (0) -
src/runtime/cgo/gcc_libinit.c
abort(); } } uintptr_t _cgo_wait_runtime_init_done(void) { void (*pfn)(struct context_arg*); pfn = __atomic_load_n(&cgo_context_function, __ATOMIC_CONSUME); int done = 2; if (__atomic_load_n(&runtime_init_done, __ATOMIC_CONSUME) != done) { pthread_mutex_lock(&runtime_init_mu); while (__atomic_load_n(&runtime_init_done, __ATOMIC_CONSUME) == 0) { pthread_cond_wait(&runtime_init_cond, &runtime_init_mu); }
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/cmd/cgo/internal/testsanitizers/testdata/msan8.go
for (i = 0; i < 100; i++) { msanGoWait(uninit, uninit, uninit, uninit, uninit, uninit); } } // msanGoReady returns whether msanGoSignalThread is set. int msanGoReady() { return __atomic_load_n(&msanGoSignalThreadSet, __ATOMIC_SEQ_CST) != 0; } // msanGoSendSignal sends a signal to the msanGoLoop thread. void msanGoSendSignal() { pthread_kill(msanGoSignalThread, SIGWINCH); } */ import "C"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 18 21:30:58 UTC 2023 - 2.7K bytes - Viewed (0)