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
|
|
@ -281,8 +281,6 @@ namespace Server.Items
|
|||
{
|
||||
m_Item = item;
|
||||
m_End = end;
|
||||
|
||||
Priority = TimerPriority.FiftyMS;
|
||||
}
|
||||
|
||||
protected override void OnTick()
|
||||
|
|
|
|||
|
|
@ -566,7 +566,6 @@ namespace Server.Items
|
|||
public InternalTimer(BandageContext context, TimeSpan delay) : base(delay)
|
||||
{
|
||||
m_Context = context;
|
||||
Priority = TimerPriority.FiftyMS;
|
||||
}
|
||||
|
||||
protected override void OnTick()
|
||||
|
|
|
|||
|
|
@ -609,7 +609,6 @@ namespace Server.Items
|
|||
public InternalTimer(Mobile from) : base(TimeSpan.FromSeconds(6.0))
|
||||
{
|
||||
m_From = from;
|
||||
Priority = TimerPriority.TwoFiftyMS;
|
||||
}
|
||||
|
||||
protected override void OnTick()
|
||||
|
|
|
|||
|
|
@ -337,7 +337,6 @@ namespace Server.Items
|
|||
public InternalTimer(Mobile m, TimeSpan delay) : base(delay)
|
||||
{
|
||||
m_Player = m;
|
||||
Priority = TimerPriority.OneMinute;
|
||||
}
|
||||
|
||||
protected override void OnTick()
|
||||
|
|
|
|||
|
|
@ -100,7 +100,6 @@ namespace Server.Items
|
|||
m_From = from;
|
||||
m_Item = item;
|
||||
m_Lockpick = lockpick;
|
||||
Priority = TimerPriority.TwoFiftyMS;
|
||||
}
|
||||
|
||||
protected void BrokeLockPickTest()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue