Home
last modified time | relevance | path

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

/external/grpc-grpc/src/core/lib/iomgr/
Dresource_quota.cc100 gpr_atm num_threads_allocated; member
157 int num_threads_allocated; member
554 &resource_user->num_threads_allocated))); in ru_destroy()
628 resource_quota->num_threads_allocated = 0; in grpc_resource_quota_create()
652 GPR_ASSERT(resource_quota->num_threads_allocated == 0); in grpc_resource_quota_unref_internal()
777 gpr_atm_no_barrier_store(&resource_user->num_threads_allocated, 0); in grpc_resource_user_create()
838 if (rq->num_threads_allocated + thread_count <= rq->max_threads) { in grpc_resource_user_allocate_threads()
839 rq->num_threads_allocated += thread_count; in grpc_resource_user_allocate_threads()
840 gpr_atm_no_barrier_fetch_add(&resource_user->num_threads_allocated, in grpc_resource_user_allocate_threads()
853 rq->num_threads_allocated -= thread_count; in grpc_resource_user_free_threads()
[all …]