Home
last modified time | relevance | path

Searched refs:ACCESS_ONCE (Results 1 – 10 of 10) sorted by relevance

/third_party/libuv/test/
Dbenchmark-async-pummel.c29 #define ACCESS_ONCE(type, var) (*(volatile type*) &(var)) macro
42 ACCESS_ONCE(const char*, handle->data) = stop; in async_cb()
45 while (ACCESS_ONCE(const char*, handle->data) != stopped) in async_cb()
56 while (ACCESS_ONCE(const char*, handle->data) == running) in pummel()
60 ACCESS_ONCE(const char*, handle->data) = stopped; in pummel()
74 ACCESS_ONCE(const char*, handle.data) = running; in test_async_pummel()
/third_party/FreeBSD/sys/compat/linuxkpi/common/include/linux/
Dcompiler.h41 #define ACCESS_ONCE(x) (*(volatile __typeof(x) *)&(x)) macro
44 ACCESS_ONCE(x) = (v); \
51 ACCESS_ONCE(x); \
/third_party/libuv/src/unix/
Dspinlock.h34 ACCESS_ONCE(int, spinlock->lock) = 0; in UV_UNUSED()
42 ACCESS_ONCE(int, spinlock->lock) = 0; in UV_UNUSED()
Dasync.c65 if (ACCESS_ONCE(int, handle->pending) != 0) in uv_async_send()
153 while (r == -1 && errno == EINTR && ACCESS_ONCE(int, handle->pending) == 1); in uv__async_send()
Dinternal.h92 #define ACCESS_ONCE(type, var) \ macro
Dstream.c212 ACCESS_ONCE(int, s->events) = events; in uv__stream_osx_select()
234 ACCESS_ONCE(int, s->events) = 0; in uv__stream_osx_select_cb()
/third_party/node/deps/uv/src/unix/
Dspinlock.h34 ACCESS_ONCE(int, spinlock->lock) = 0; in UV_UNUSED()
42 ACCESS_ONCE(int, spinlock->lock) = 0; in UV_UNUSED()
Dasync.c65 if (ACCESS_ONCE(int, handle->pending) != 0) in uv_async_send()
Dinternal.h90 #define ACCESS_ONCE(type, var) \ macro
Dstream.c212 ACCESS_ONCE(int, s->events) = events; in uv__stream_osx_select()
234 ACCESS_ONCE(int, s->events) = 0; in uv__stream_osx_select_cb()