Home
last modified time | relevance | path

Searched refs:gpr_tls_set (Results 1 – 14 of 14) sorted by relevance

/third_party/grpc/test/cpp/end2end/
Dnonblocking_test.cc84 gpr_tls_set(&g_is_nonblocking_poll, static_cast<intptr_t>(true)); in LoopForTag()
88 gpr_tls_set(&g_is_nonblocking_poll, orig_val); in LoopForTag()
91 gpr_tls_set(&g_is_nonblocking_poll, orig_val); in LoopForTag()
206 gpr_tls_set(&g_is_nonblocking_poll, static_cast<intptr_t>(false)); in main()
/third_party/grpc/test/core/gpr/
Dtls_test.cc42 gpr_tls_set(&test_var, i); in thd_body()
45 gpr_tls_set(&test_var, 0); in thd_body()
/third_party/grpc/src/core/lib/iomgr/
Dexec_ctx.h227 gpr_tls_set(&exec_ctx_, reinterpret_cast<intptr_t>(exec_ctx)); in Set()
326 gpr_tls_set(&callback_exec_ctx_, reinterpret_cast<intptr_t>(nullptr)); in ~ApplicationCallbackExecCtx()
348 gpr_tls_set(&callback_exec_ctx_, reinterpret_cast<intptr_t>(exec_ctx)); in Set()
Dtimer_generic.cc274 gpr_tls_set(&g_last_seen_min_timer, 0); in timer_list_init()
457 gpr_tls_set(&g_last_seen_min_timer, 0); in timer_consume_kick()
595 gpr_tls_set(&g_last_seen_min_timer, min_timer); in run_some_expired_timers()
Dev_epoll1_linux.cc1030 gpr_tls_set(&g_current_thread_pollset, (intptr_t)ps); in pollset_work()
1031 gpr_tls_set(&g_current_thread_worker, (intptr_t)&worker); in pollset_work()
1058 gpr_tls_set(&g_current_thread_worker, 0); in pollset_work()
1060 gpr_tls_set(&g_current_thread_pollset, (intptr_t)ps); in pollset_work()
1064 gpr_tls_set(&g_current_thread_pollset, 0); in pollset_work()
Dexecutor.cc217 gpr_tls_set(&g_this_thread_state, reinterpret_cast<intptr_t>(ts)); in ThreadMain()
251 gpr_tls_set(&g_this_thread_state, reinterpret_cast<intptr_t>(nullptr)); in ThreadMain()
Dev_poll_posix.cc959 gpr_tls_set(&g_current_thread_poller, (intptr_t)pollset);
967 gpr_tls_set(&g_current_thread_worker, (intptr_t)&worker);
1115 gpr_tls_set(&g_current_thread_poller, 0);
1118 gpr_tls_set(&g_current_thread_worker, 0);
Dev_epollex_linux.cc1134 gpr_tls_set(&g_current_thread_pollset, (intptr_t)pollset);
1135 gpr_tls_set(&g_current_thread_worker, (intptr_t)WORKER_PTR);
1146 gpr_tls_set(&g_current_thread_pollset, 0);
1147 gpr_tls_set(&g_current_thread_worker, 0);
/third_party/grpc/src/core/lib/gpr/
Dtls_pthread.cc25 intptr_t gpr_tls_set(struct gpr_pthread_thread_local* tls, intptr_t value) { in gpr_tls_set() function
Dtls_stdcpp.h44 #define gpr_tls_set(tls, new_value) (*(tls) = (new_value)) macro
Dtls_gcc.h49 #define gpr_tls_set(tls, new_value) (((tls)->value) = (new_value)) macro
Dtls_msvc.h51 #define gpr_tls_set(tls, new_value) (((tls)->value) = (new_value)) macro
Dtls_pthread.h51 intptr_t gpr_tls_set(struct gpr_pthread_thread_local* tls, intptr_t value);
/third_party/grpc/src/core/lib/surface/
Dcompletion_queue.cc452 gpr_tls_set(&g_cached_event, (intptr_t)0); in grpc_completion_queue_thread_local_cache_init()
453 gpr_tls_set(&g_cached_cq, (intptr_t)cq); in grpc_completion_queue_thread_local_cache_init()
478 gpr_tls_set(&g_cached_event, (intptr_t)0); in grpc_completion_queue_thread_local_cache_flush()
479 gpr_tls_set(&g_cached_cq, (intptr_t)0); in grpc_completion_queue_thread_local_cache_flush()
725 gpr_tls_set(&g_cached_event, (intptr_t)storage);