Home
last modified time | relevance | path

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

/third_party/grpc/test/core/iomgr/
Dresource_quota_test.cc814 GPR_ASSERT(grpc_resource_user_allocate_threads(ru1, 10)); in test_thread_limit()
815 GPR_ASSERT(grpc_resource_user_allocate_threads(ru2, 10)); in test_thread_limit()
816 GPR_ASSERT(grpc_resource_user_allocate_threads(ru1, 40)); in test_thread_limit()
817 GPR_ASSERT(grpc_resource_user_allocate_threads(ru2, 40)); in test_thread_limit()
820 GPR_ASSERT(!grpc_resource_user_allocate_threads(ru2, 20)); in test_thread_limit()
827 GPR_ASSERT(grpc_resource_user_allocate_threads(ru2, 20)); in test_thread_limit()
830 GPR_ASSERT(!grpc_resource_user_allocate_threads(ru1, 20)); in test_thread_limit()
835 GPR_ASSERT(grpc_resource_user_allocate_threads(ru1, 5)); in test_thread_limit()
837 !grpc_resource_user_allocate_threads(ru2, 10)); // Only 5 available in test_thread_limit()
838 GPR_ASSERT(grpc_resource_user_allocate_threads(ru2, 5)); in test_thread_limit()
[all …]
/third_party/grpc/src/cpp/thread_manager/
Dthread_manager.cc127 if (!grpc_resource_user_allocate_threads(resource_user_, min_pollers_)) { in Initialize()
174 if (grpc_resource_user_allocate_threads(resource_user_, 1)) { in MainWorkLoop()
/third_party/grpc/src/core/lib/iomgr/
Dresource_quota.h104 bool grpc_resource_user_allocate_threads(grpc_resource_user* resource_user,
Dresource_quota.cc852 bool grpc_resource_user_allocate_threads(grpc_resource_user* resource_user, in grpc_resource_user_allocate_threads() function
/third_party/grpc/
Dlibgrpc.map152 "grpc_resource_user_allocate_threads(grpc_resource_user*, int)";