Свойство | Type | Description | |
---|---|---|---|
CreateAndStartThread | Thread | ||
CreateCompletionQueueList | IReadOnlyCollection |
||
RunHandlerLoop | void |
Méthode | 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 |
Méthode | 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. |
Résultat | System |