Searched refs:gpr_tls_set (Results 1 – 14 of 14) sorted by relevance
/third_party/grpc/test/cpp/end2end/ |
D | nonblocking_test.cc | 84 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/ |
D | tls_test.cc | 42 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/ |
D | exec_ctx.h | 227 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()
|
D | timer_generic.cc | 274 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()
|
D | ev_epoll1_linux.cc | 1030 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()
|
D | executor.cc | 217 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()
|
D | ev_poll_posix.cc | 959 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);
|
D | ev_epollex_linux.cc | 1134 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/ |
D | tls_pthread.cc | 25 intptr_t gpr_tls_set(struct gpr_pthread_thread_local* tls, intptr_t value) { in gpr_tls_set() function
|
D | tls_stdcpp.h | 44 #define gpr_tls_set(tls, new_value) (*(tls) = (new_value)) macro
|
D | tls_gcc.h | 49 #define gpr_tls_set(tls, new_value) (((tls)->value) = (new_value)) macro
|
D | tls_msvc.h | 51 #define gpr_tls_set(tls, new_value) (((tls)->value) = (new_value)) macro
|
D | tls_pthread.h | 51 intptr_t gpr_tls_set(struct gpr_pthread_thread_local* tls, intptr_t value);
|
/third_party/grpc/src/core/lib/surface/ |
D | completion_queue.cc | 452 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);
|