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
|
|
@ -798,7 +798,6 @@ namespace Server.Engines.ConPVP
|
|||
{
|
||||
m_Bomb = bomb;
|
||||
m_Count = 0;
|
||||
Priority = TimerPriority.FiftyMS;
|
||||
}
|
||||
|
||||
protected override void OnTick()
|
||||
|
|
|
|||
|
|
@ -211,8 +211,6 @@ namespace Server.Engines.ConPVP
|
|||
m_Hill = hill;
|
||||
Captures = 0;
|
||||
m_Counter = 0;
|
||||
|
||||
Priority = TimerPriority.FiftyMS;
|
||||
}
|
||||
|
||||
public int Captures { get; private set; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue