|
Dreamine.Threading 1.0.1
이 패키지는 .NET ThreadPool이나 Task Parallel Library를 대체하려는 목적이 아닙니다.
|
Public 멤버 함수 | |
| DreamineThreadOptions | Normalize () |
속성 | |
| string | Name = "DreamineThread" [get, set] |
| DreamineThreadPriority | Priority = DreamineThreadPriority.Normal [get, set] |
| int | IntervalMs = 10 [get, set] |
| DreamineThreadCoreMode | CoreMode = DreamineThreadCoreMode.Auto [get, set] |
| int? | CoreIndex [get, set] |
| int | AutoThreadsPerCore = 2 [get, set] |
| int | OverflowPollingIntervalMs = 100 [get, set] |
| bool | AutoStart = true [get, set] |
| bool | UseHighPrecisionTimer = true [get, set] |
| bool | UseAdaptiveCpuDelay = true [get, set] |
| bool | YieldWhenIntervalIsZero = true [get, set] |
| TimeSpan | StopTimeout = TimeSpan.FromSeconds(2) [get, set] |
Dreamine 작업자 스레드 생성 옵션을 나타냅니다.
DreamineThreadOptions.cs 파일의 11 번째 라인에서 정의되었습니다.
|
inline |
잘못된 이름·간격·코어당 스레드 수·중지 제한 시간을 기본값으로 보정한 복사본을 생성합니다.
DreamineThreadOptions.cs 파일의 149 번째 라인에서 정의되었습니다.
다음을 참조함 : AutoStart, AutoThreadsPerCore, CoreIndex, CoreMode, IntervalMs, Name, OverflowPollingIntervalMs, Priority, StopTimeout, UseAdaptiveCpuDelay, UseHighPrecisionTimer, YieldWhenIntervalIsZero.
다음에 의해서 참조됨 : Dreamine.Threading.Allocators.AutoCoreAllocator.Allocate(), Dreamine.Threading.Services.DreamineThread.DreamineThread(), Dreamine.Threading.Services.DreamineThreadManager.Register().

|
getset |
생성 직후 작업자를 시작할지 여부를 가져오거나 설정합니다.
DreamineThreadOptions.cs 파일의 91 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : Normalize().
|
getset |
자동 모드에서 CPU 코어당 최대 전용 작업자 스레드 수를 가져오거나 설정합니다.
DreamineThreadOptions.cs 파일의 71 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : Dreamine.Threading.Allocators.AutoCoreAllocator.AllocateAuto(), Normalize().
|
getset |
수동으로 할당할 CPU 코어 인덱스를 가져오거나 설정합니다.
DreamineThreadOptions.cs 파일의 61 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : Dreamine.Threading.Allocators.AutoCoreAllocator.AllocateManual(), Normalize().
|
getset |
CPU 코어 할당 모드를 가져오거나 설정합니다.
DreamineThreadOptions.cs 파일의 51 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : Normalize().
|
getset |
밀리초 단위 기본 실행 주기 간격을 가져오거나 설정합니다.
DreamineThreadOptions.cs 파일의 41 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : Dreamine.Threading.Policies.AdaptiveCpuCyclePolicy.GetDelayMs(), Dreamine.Threading.Policies.FixedIntervalCyclePolicy.GetDelayMs(), Normalize().
|
getset |
작업자 스레드 이름을 가져오거나 설정합니다.
DreamineThreadOptions.cs 파일의 21 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : Normalize().
|
getset |
작업이 오버플로 폴링으로 할당될 때 사용할 폴링 간격을 가져오거나 설정합니다.
DreamineThreadOptions.cs 파일의 81 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : Dreamine.Threading.Policies.AdaptiveCpuCyclePolicy.GetDelayMs(), Dreamine.Threading.Policies.FixedIntervalCyclePolicy.GetDelayMs(), Dreamine.Threading.Policies.OverflowPollingPolicy.GetDelayMs(), Normalize().
|
getset |
작업자 스레드 우선순위를 가져오거나 설정합니다.
DreamineThreadOptions.cs 파일의 31 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : Normalize().
|
getset |
중지 작업이 작업자 스레드 종료를 기다릴 제한 시간을 가져오거나 설정합니다.
DreamineThreadOptions.cs 파일의 131 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : Normalize().
|
getset |
간격이 0일 때 적응형 CPU 지연을 사용할지 여부를 가져오거나 설정합니다.
DreamineThreadOptions.cs 파일의 111 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : Dreamine.Threading.Policies.AdaptiveCpuCyclePolicy.GetDelayMs(), Normalize().
|
getset |
고정밀 타이머 해상도를 요청할지 여부를 가져오거나 설정합니다.
DreamineThreadOptions.cs 파일의 101 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : Normalize().
|
getset |
간격이 0일 때 작업자 스레드가 실행권을 양보할지 여부를 가져오거나 설정합니다.
DreamineThreadOptions.cs 파일의 121 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : Normalize().