Dreamine.Threading 1.0.1
이 패키지는 .NET ThreadPool이나 Task Parallel Library를 대체하려는 목적이 아닙니다.
로딩중...
검색중...
일치하는것 없음
Dreamine.Threading.Interfaces.IThreadCoreAllocator 인터페이스 참조

더 자세히 ...

Dreamine.Threading.Interfaces.IThreadCoreAllocator에 대한 상속 다이어그램 :

Public 멤버 함수

DreamineThreadCoreAssignment Allocate (DreamineThreadOptions options)
void Release (DreamineThreadCoreAssignment assignment)

상세한 설명

작업자 스레드를 CPU 코어에 할당하는 서비스 계약을 정의합니다.

IThreadCoreAllocator.cs 파일의 13 번째 라인에서 정의되었습니다.

멤버 함수 문서화

◆ Allocate()

DreamineThreadCoreAssignment Dreamine.Threading.Interfaces.IThreadCoreAllocator.Allocate ( DreamineThreadOptions options)

지정한 스레드 옵션에 맞는 CPU 코어 할당을 만듭니다.

매개변수
options코어 모드와 수동 코어를 포함하는 스레드 옵션입니다.
반환값
선택된 CPU 코어 할당입니다.
예외
ArgumentNullExceptionoptionsnull이면 구현체가 발생시킬 수 있습니다.

Dreamine.Threading.Allocators.AutoCoreAllocator에서 구현되었습니다.

◆ Release()

void Dreamine.Threading.Interfaces.IThreadCoreAllocator.Release ( DreamineThreadCoreAssignment assignment)

이전에 할당한 CPU 코어 할당을 해제합니다.

매개변수
assignment해제할 CPU 코어 할당입니다.

Dreamine.Threading.Allocators.AutoCoreAllocator에서 구현되었습니다.


이 인터페이스에 대한 문서화 페이지는 다음의 파일로부터 생성되었습니다.: