Home
last modified time | relevance | path

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

/external/grpc-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()
/external/grpc-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_gcc.h49 #define gpr_tls_set(tls, new_value) (((tls)->value) = (new_value)) macro
Dtls_msvc.h49 #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);
/external/grpc-grpc/src/core/lib/iomgr/
Dtimer_generic.cc272 gpr_tls_set(&g_last_seen_min_timer, 0); in timer_list_init()
454 gpr_tls_set(&g_last_seen_min_timer, 0); in timer_consume_kick()
591 gpr_tls_set(&g_last_seen_min_timer, min_timer); in run_some_expired_timers()
Dev_epoll1_linux.cc1007 gpr_tls_set(&g_current_thread_pollset, (intptr_t)ps); in pollset_work()
1008 gpr_tls_set(&g_current_thread_worker, (intptr_t)&worker); in pollset_work()
1035 gpr_tls_set(&g_current_thread_worker, 0); in pollset_work()
1037 gpr_tls_set(&g_current_thread_pollset, (intptr_t)ps); in pollset_work()
1041 gpr_tls_set(&g_current_thread_pollset, 0); in pollset_work()
Dexec_ctx.h209 gpr_tls_set(&exec_ctx_, reinterpret_cast<intptr_t>(exec_ctx)); in Set()
Dev_epollsig_linux.cc1307 gpr_tls_set(&g_current_thread_pollset, (intptr_t)pollset);
1308 gpr_tls_set(&g_current_thread_worker, (intptr_t)&worker);
1385 gpr_tls_set(&g_current_thread_pollset, (intptr_t)0);
1386 gpr_tls_set(&g_current_thread_worker, (intptr_t)0);
Dev_epollex_linux.cc1184 gpr_tls_set(&g_current_thread_pollset, (intptr_t)pollset);
1185 gpr_tls_set(&g_current_thread_worker, (intptr_t)WORKER_PTR);
1196 gpr_tls_set(&g_current_thread_pollset, 0);
1197 gpr_tls_set(&g_current_thread_worker, 0);
Dexecutor.cc160 gpr_tls_set(&g_this_thread_state, reinterpret_cast<intptr_t>(ts)); in ThreadMain()
Dev_poll_posix.cc995 gpr_tls_set(&g_current_thread_poller, (intptr_t)pollset);
1003 gpr_tls_set(&g_current_thread_worker, (intptr_t)&worker);
1151 gpr_tls_set(&g_current_thread_poller, 0);
1154 gpr_tls_set(&g_current_thread_worker, 0);
/external/grpc-grpc/src/core/lib/surface/
Dcompletion_queue.cc386 gpr_tls_set(&g_cached_event, (intptr_t)0); in grpc_completion_queue_thread_local_cache_init()
387 gpr_tls_set(&g_cached_cq, (intptr_t)cq); in grpc_completion_queue_thread_local_cache_init()
412 gpr_tls_set(&g_cached_event, (intptr_t)0); in grpc_completion_queue_thread_local_cache_flush()
413 gpr_tls_set(&g_cached_cq, (intptr_t)0); in grpc_completion_queue_thread_local_cache_flush()
709 gpr_tls_set(&g_cached_event, (intptr_t)storage);