fix(core): Adds Hashed & Hierarchical Timer Wheel (#655)
- Removes TimerPriority - Removes TimerThread - Adds a [Hashed & Hierarchical Timer Wheel](http://www.cs.columbia.edu/~nahum/w6998/papers/ton97-timing-wheels.pdf)
This commit is contained in:
parent
b99d520019
commit
fb915992dd
138 changed files with 468 additions and 802 deletions
|
|
@ -791,8 +791,6 @@ namespace Server.Items
|
|||
m_NextSpellTime = from.NextSpellTime;
|
||||
m_NextActionTime = from.NextActionTime;
|
||||
m_LastMoveTime = from.LastMoveTime;
|
||||
|
||||
Priority = TimerPriority.TenMS;
|
||||
}
|
||||
|
||||
private void Terminate()
|
||||
|
|
@ -932,8 +930,6 @@ namespace Server.Items
|
|||
{
|
||||
m_From = from;
|
||||
m_SoundID = soundID;
|
||||
|
||||
Priority = TimerPriority.TenMS;
|
||||
}
|
||||
|
||||
protected override void OnTick()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue