C# 클래스 Grpc.Core.Internal.GrpcThreadPool

Pool of threads polling on a set of completions queues.
파일 보기 프로젝트 열기: grpc/grpc 1 사용 예제들

Private Properties

프로퍼티 타입 설명
CreateAndStartThread Thread
CreateCompletionQueueList IReadOnlyCollection
RunHandlerLoop void

공개 메소드들

메소드 설명
GrpcThreadPool ( GrpcEnvironment environment, int poolSize, int completionQueueCount ) : System

Creates a thread pool threads polling on a set of completions queues.

Start ( ) : void
StopAsync ( ) : Task

비공개 메소드들

메소드 설명
CreateAndStartThread ( int threadIndex, IProfiler optionalProfiler ) : Thread
CreateCompletionQueueList ( GrpcEnvironment environment, int completionQueueCount ) : IReadOnlyCollection
RunHandlerLoop ( CompletionQueueSafeHandle cq, IProfiler optionalProfiler ) : void

Body of the polling thread.

메소드 상세

GrpcThreadPool() 공개 메소드

Creates a thread pool threads polling on a set of completions queues.
public GrpcThreadPool ( GrpcEnvironment environment, int poolSize, int completionQueueCount ) : System
environment GrpcEnvironment Environment.
poolSize int Pool size.
completionQueueCount int Completion queue count.
리턴 System

Start() 공개 메소드

public Start ( ) : void
리턴 void

StopAsync() 공개 메소드

public StopAsync ( ) : Task
리턴 Task