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
|
|
@ -5599,7 +5599,6 @@ namespace Server.Mobiles
|
|||
public DeleteTimer(Mobile creature, TimeSpan delay) : base(delay)
|
||||
{
|
||||
m = creature;
|
||||
Priority = TimerPriority.OneMinute;
|
||||
}
|
||||
|
||||
protected override void OnTick()
|
||||
|
|
@ -5618,7 +5617,6 @@ namespace Server.Mobiles
|
|||
public LoyaltyTimer() : base(InternalDelay, InternalDelay)
|
||||
{
|
||||
m_NextHourlyCheck = Core.Now + TimeSpan.FromHours(1.0);
|
||||
Priority = TimerPriority.FiveSeconds;
|
||||
}
|
||||
|
||||
public static void Initialize()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue