aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications
diff options
context:
space:
mode:
authorJohn Hurliman2009-10-21 23:03:18 -0700
committerJohn Hurliman2009-10-21 23:03:18 -0700
commit32ccd5bb40447ea4d96f1181cf73edff3645a55a (patch)
tree65a6f75985e9aef1a9641c098332823d10afb748 /OpenSim/Framework/Communications
parent* Change the OnQueueEmpty signature to send the flags of the queues that are ... (diff)
downloadopensim-SC_OLD-32ccd5bb40447ea4d96f1181cf73edff3645a55a.zip
opensim-SC_OLD-32ccd5bb40447ea4d96f1181cf73edff3645a55a.tar.gz
opensim-SC_OLD-32ccd5bb40447ea4d96f1181cf73edff3645a55a.tar.bz2
opensim-SC_OLD-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/Framework/Communications')
-rw-r--r--OpenSim/Framework/Communications/RestClient.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/Communications/RestClient.cs b/OpenSim/Framework/Communications/RestClient.cs
index 317b3a0..97b3b60 100644
--- a/OpenSim/Framework/Communications/RestClient.cs
+++ b/OpenSim/Framework/Communications/RestClient.cs
@@ -403,7 +403,7 @@ namespace OpenSim.Framework.Communications
403 /// In case, we are invoked asynchroneously this object will keep track of the state 403 /// In case, we are invoked asynchroneously this object will keep track of the state
404 /// </summary> 404 /// </summary>
405 AsyncResult<Stream> ar = new AsyncResult<Stream>(callback, state); 405 AsyncResult<Stream> ar = new AsyncResult<Stream>(callback, state);
406 ThreadPool.UnsafeQueueUserWorkItem(RequestHelper, ar); 406 Util.FireAndForget(RequestHelper, ar);
407 return ar; 407 return ar;
408 } 408 }
409 409