diff options
author | John Hurliman | 2009-10-21 23:03:18 -0700 |
---|---|---|
committer | John Hurliman | 2009-10-21 23:03:18 -0700 |
commit | 32ccd5bb40447ea4d96f1181cf73edff3645a55a (patch) | |
tree | 65a6f75985e9aef1a9641c098332823d10afb748 /OpenSim/Grid | |
parent | * Change the OnQueueEmpty signature to send the flags of the queues that are ... (diff) | |
download | opensim-SC-32ccd5bb40447ea4d96f1181cf73edff3645a55a.zip opensim-SC-32ccd5bb40447ea4d96f1181cf73edff3645a55a.tar.gz opensim-SC-32ccd5bb40447ea4d96f1181cf73edff3645a55a.tar.bz2 opensim-SC-32ccd5bb40447ea4d96f1181cf73edff3645a55a.tar.xz |
* Changed the misc. methods calling ThreadPool.UnsafeQueueUserWorkItem() to Util.FireAndForget()
* Changed Util.FireAndForget() to use any of five different methods set with async_call_method in the [Startup] section of OpenSim.ini. Look at the example config for possible values
Diffstat (limited to 'OpenSim/Grid')
-rw-r--r-- | OpenSim/Grid/MessagingServer.Modules/MessageService.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/Grid/MessagingServer.Modules/MessageService.cs b/OpenSim/Grid/MessagingServer.Modules/MessageService.cs index 49f0fa8..8ad1e9c 100644 --- a/OpenSim/Grid/MessagingServer.Modules/MessageService.cs +++ b/OpenSim/Grid/MessagingServer.Modules/MessageService.cs | |||
@@ -148,8 +148,7 @@ namespace OpenSim.Grid.MessagingServer.Modules | |||
148 | friendlistupdater.presence2 = receiver; | 148 | friendlistupdater.presence2 = receiver; |
149 | friendlistupdater.OnGetRegionData += m_regionModule.GetRegionInfo; | 149 | friendlistupdater.OnGetRegionData += m_regionModule.GetRegionInfo; |
150 | friendlistupdater.OnDone += PresenceUpdateDone; | 150 | friendlistupdater.OnDone += PresenceUpdateDone; |
151 | WaitCallback cb = new WaitCallback(friendlistupdater.go); | 151 | Util.FireAndForget(friendlistupdater.go); |
152 | ThreadPool.UnsafeQueueUserWorkItem(cb, null); | ||
153 | } | 152 | } |
154 | else | 153 | else |
155 | { | 154 | { |