Home
last modified time | relevance | path

Searched refs:gpr_tls_get (Results 1 – 13 of 13) sorted by relevance

/third_party/grpc/test/core/gpr/
Dtls_test.cc39 GPR_ASSERT(gpr_tls_get(&test_var) == 0); in thd_body()
43 GPR_ASSERT(gpr_tls_get(&test_var) == i); in thd_body()
/third_party/grpc/src/core/lib/iomgr/
Dexec_ctx.h223 return reinterpret_cast<ExecCtx*>(gpr_tls_get(&exec_ctx_)); in Get()
317 gpr_tls_get(&callback_exec_ctx_)) == this) { in ~ApplicationCallbackExecCtx()
340 gpr_tls_get(&callback_exec_ctx_)); in Get()
Dev_epoll1_linux.cc1077 reinterpret_cast<void*>(gpr_tls_get(&g_current_thread_pollset)), in pollset_kick()
1078 reinterpret_cast<void*>(gpr_tls_get(&g_current_thread_worker)), in pollset_kick()
1095 if (gpr_tls_get(&g_current_thread_pollset) != in pollset_kick()
1188 } else if (gpr_tls_get(&g_current_thread_worker) == in pollset_kick()
Dev_poll_posix.cc777 } else if (gpr_tls_get(&g_current_thread_worker) !=
795 } else if (gpr_tls_get(&g_current_thread_poller) !=
801 if (gpr_tls_get(&g_current_thread_worker) ==
807 gpr_tls_get(&g_current_thread_worker) ==
Dev_epollex_linux.cc696 if (gpr_tls_get(&g_current_thread_worker) ==
736 pollset, specific_worker, gpr_tls_get(&g_current_thread_pollset),
737 gpr_tls_get(&g_current_thread_worker), pollset->root_worker);
740 if (gpr_tls_get(&g_current_thread_pollset) !=
Dexecutor.cc287 reinterpret_cast<ThreadState*>(gpr_tls_get(&g_this_thread_state)); in Enqueue()
Dtimer_generic.cc682 grpc_millis min_timer = gpr_tls_get(&g_last_seen_min_timer); in timer_check()
/third_party/grpc/test/cpp/end2end/
Dnonblocking_test.cc53 if (gpr_tls_get(&g_is_nonblocking_poll)) { in maybe_assert_non_blocking_poll()
83 intptr_t orig_val = gpr_tls_get(&g_is_nonblocking_poll); in LoopForTag()
/third_party/grpc/src/core/lib/gpr/
Dtls_stdcpp.h46 #define gpr_tls_get(tls) (*(tls)) macro
Dtls_gcc.h50 #define gpr_tls_get(tls) ((tls)->value) macro
Dtls_msvc.h52 #define gpr_tls_get(tls) ((tls)->value) macro
Dtls_pthread.h47 #define gpr_tls_get(tls) ((intptr_t)pthread_getspecific((tls)->key)) macro
/third_party/grpc/src/core/lib/surface/
Dcompletion_queue.cc450 if (reinterpret_cast<grpc_completion_queue*>(gpr_tls_get(&g_cached_cq)) == in grpc_completion_queue_thread_local_cache_init()
460 reinterpret_cast<grpc_cq_completion*>(gpr_tls_get(&g_cached_event)); in grpc_completion_queue_thread_local_cache_flush()
463 gpr_tls_get(&g_cached_cq)) == cq) { in grpc_completion_queue_thread_local_cache_flush()
721 if (reinterpret_cast<grpc_completion_queue*>(gpr_tls_get(&g_cached_cq)) ==
723 reinterpret_cast<grpc_cq_completion*>(gpr_tls_get(&g_cached_event)) ==