Searched refs:ACCESS_ONCE (Results 1 – 10 of 10) sorted by relevance
/third_party/libuv/test/ |
D | benchmark-async-pummel.c | 29 #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/ |
D | compiler.h | 41 #define ACCESS_ONCE(x) (*(volatile __typeof(x) *)&(x)) macro 44 ACCESS_ONCE(x) = (v); \ 51 ACCESS_ONCE(x); \
|
/third_party/libuv/src/unix/ |
D | spinlock.h | 34 ACCESS_ONCE(int, spinlock->lock) = 0; in UV_UNUSED() 42 ACCESS_ONCE(int, spinlock->lock) = 0; in UV_UNUSED()
|
D | async.c | 65 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()
|
D | internal.h | 92 #define ACCESS_ONCE(type, var) \ macro
|
D | stream.c | 212 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/ |
D | spinlock.h | 34 ACCESS_ONCE(int, spinlock->lock) = 0; in UV_UNUSED() 42 ACCESS_ONCE(int, spinlock->lock) = 0; in UV_UNUSED()
|
D | async.c | 65 if (ACCESS_ONCE(int, handle->pending) != 0) in uv_async_send()
|
D | internal.h | 90 #define ACCESS_ONCE(type, var) \ macro
|
D | stream.c | 212 ACCESS_ONCE(int, s->events) = events; in uv__stream_osx_select() 234 ACCESS_ONCE(int, s->events) = 0; in uv__stream_osx_select_cb()
|