diff options
author | John Hurliman | 2009-10-21 18:03:41 -0700 |
---|---|---|
committer | John Hurliman | 2009-10-21 18:03:41 -0700 |
commit | 6492640e72776d9f0a015e6a719c8cef28ccb7e3 (patch) | |
tree | af67792558e46e5b5abce59032223b8bae388859 /OpenSim/Framework | |
parent | * Clarified what FireQueueEmpty is doing with a MIN_CALLBACK_MS constant and ... (diff) | |
download | opensim-SC-6492640e72776d9f0a015e6a719c8cef28ccb7e3.zip opensim-SC-6492640e72776d9f0a015e6a719c8cef28ccb7e3.tar.gz opensim-SC-6492640e72776d9f0a015e6a719c8cef28ccb7e3.tar.bz2 opensim-SC-6492640e72776d9f0a015e6a719c8cef28ccb7e3.tar.xz |
* 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)
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r-- | OpenSim/Framework/ThrottleOutPacketType.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/OpenSim/Framework/ThrottleOutPacketType.cs b/OpenSim/Framework/ThrottleOutPacketType.cs index e21ff32..d56231a 100644 --- a/OpenSim/Framework/ThrottleOutPacketType.cs +++ b/OpenSim/Framework/ThrottleOutPacketType.cs | |||
@@ -51,4 +51,16 @@ namespace OpenSim.Framework | |||
51 | /// <remarks>This is a sub-category of Task</remarks> | 51 | /// <remarks>This is a sub-category of Task</remarks> |
52 | State = 7, | 52 | State = 7, |
53 | } | 53 | } |
54 | |||
55 | [Flags] | ||
56 | public enum ThrottleOutPacketTypeFlags | ||
57 | { | ||
58 | Land = 1 << 0, | ||
59 | Wind = 1 << 1, | ||
60 | Cloud = 1 << 2, | ||
61 | Task = 1 << 3, | ||
62 | Texture = 1 << 4, | ||
63 | Asset = 1 << 5, | ||
64 | State = 1 << 6, | ||
65 | } | ||
54 | } | 66 | } |