C# 클래스 HikariThreading.ManagerBase

Base class for Thread- and UnityManager. Contains the helpful stuff that's shared between them for dispatching tasks.
파일 보기 프로젝트 열기: ReinAkane/Hikari

보호된 프로퍼티들

프로퍼티 타입 설명
napping List
waiting Queue
workLock object

보호된 메소드들

메소드 설명
UnsafeRequeueAwakenedTasks ( ) : void

Checks all napping tasks and Enqueues the awakened ones. This is not threadsafe in regard to napping list.

비공개 메소드들

메소드 설명
EnqueueTask ( ITask task ) : void

Enqueues a task to be run when the next thread is available.

ManagerBase ( ) : System
UnsafeUpdate ( ) : void

Checks for napping and awaked tasks, and assigns work.

메소드 상세

UnsafeRequeueAwakenedTasks() 보호된 메소드

Checks all napping tasks and Enqueues the awakened ones. This is not threadsafe in regard to napping list.
protected UnsafeRequeueAwakenedTasks ( ) : void
리턴 void

프로퍼티 상세

napping 보호되어 있는 프로퍼티

List of napping Tasks. Should only be accessed in UnsafeUpdate.
protected List napping
리턴 List

waiting 보호되어 있는 프로퍼티

Queue of Tasks waiting to be executed. This includes all recently woken Tasks.
protected Queue waiting
리턴 Queue

workLock 보호되어 있는 프로퍼티

Lock for our waiting list.
protected object workLock
리턴 object