Property | Type | Description | |
---|---|---|---|
CreateAndStartThread | Thread | ||
CreateCompletionQueueList | IReadOnlyCollection |
||
RunHandlerLoop | void |
Method | Description | |
---|---|---|
GrpcThreadPool ( GrpcEnvironment environment, int poolSize, int completionQueueCount ) : System |
Creates a thread pool threads polling on a set of completions queues.
|
|
Start ( ) : void | ||
StopAsync ( ) : Task |
Method | Description | |
---|---|---|
CreateAndStartThread ( int threadIndex, IProfiler optionalProfiler ) : Thread | ||
CreateCompletionQueueList ( GrpcEnvironment environment, int completionQueueCount ) : IReadOnlyCollection |
||
RunHandlerLoop ( |
Body of the polling thread.
|
public GrpcThreadPool ( GrpcEnvironment environment, int poolSize, int completionQueueCount ) : System | ||
environment | GrpcEnvironment | Environment. |
poolSize | int | Pool size. |
completionQueueCount | int | Completion queue count. |
return | System |