* Change the OnQueueEmpty signature to send the flags of the queues that are empty instead of firing once per empty queue

* Change the OnQueueEmpty firing to use a minimum time until next fire instead of a sleep
* Set OutgoingPacket.TickCount = 0 earlier to avoid extra resends when things are running slowly (inside a profiler, for example)
This commit is contained in:
John Hurliman
2009-10-21 18:03:41 -07:00
parent 4e04f6b3a5
commit 6492640e72
5 changed files with 120 additions and 61 deletions

View File

@@ -51,4 +51,16 @@ namespace OpenSim.Framework
/// <remarks>This is a sub-category of Task</remarks>
State = 7,
}
[Flags]
public enum ThrottleOutPacketTypeFlags
{
Land = 1 << 0,
Wind = 1 << 1,
Cloud = 1 << 2,
Task = 1 << 3,
Texture = 1 << 4,
Asset = 1 << 5,
State = 1 << 6,
}
}