Searched refs:grpc_resource_user_allocate_threads (Results 1 – 5 of 5) sorted by relevance
/third_party/grpc/test/core/iomgr/ |
D | resource_quota_test.cc | 814 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/ |
D | thread_manager.cc | 127 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/ |
D | resource_quota.h | 104 bool grpc_resource_user_allocate_threads(grpc_resource_user* resource_user,
|
D | resource_quota.cc | 852 bool grpc_resource_user_allocate_threads(grpc_resource_user* resource_user, in grpc_resource_user_allocate_threads() function
|
/third_party/grpc/ |
D | libgrpc.map | 152 "grpc_resource_user_allocate_threads(grpc_resource_user*, int)";
|