Home
last modified time | relevance | path

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

/external/grpc-grpc/src/core/tsi/
Dalts_transport_security.cc25 static alts_shared_resource g_alts_resource; variable
28 return &g_alts_resource; in alts_get_shared_resource()
32 gpr_mu_lock(&g_alts_resource.mu); in grpc_tsi_alts_wait_for_cq_drain()
33 while (!g_alts_resource.is_cq_drained) { in grpc_tsi_alts_wait_for_cq_drain()
34 gpr_cv_wait(&g_alts_resource.cv, &g_alts_resource.mu, in grpc_tsi_alts_wait_for_cq_drain()
37 gpr_mu_unlock(&g_alts_resource.mu); in grpc_tsi_alts_wait_for_cq_drain()
41 gpr_mu_lock(&g_alts_resource.mu); in grpc_tsi_alts_signal_for_cq_destroy()
42 g_alts_resource.is_cq_drained = true; in grpc_tsi_alts_signal_for_cq_destroy()
43 gpr_cv_signal(&g_alts_resource.cv); in grpc_tsi_alts_signal_for_cq_destroy()
44 gpr_mu_unlock(&g_alts_resource.mu); in grpc_tsi_alts_signal_for_cq_destroy()
[all …]