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/Framework/Communications | |
parent | * Change the OnQueueEmpty signature to send the flags of the queues that are ... (diff) | |
download | opensim-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.cs | 2 |
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 | ||