Fix bug where no threadpool data would be displayed in the "show threads" command if threadpool type was QueueUserWorkItem (Unsafe worked as expected)

cpu-performance
Justin Clark-Casey (justincc) 2013-06-17 23:34:09 +01:00
parent 713a14a6b5
commit c0a00cd7fd
1 changed files with 1 additions and 1 deletions

View File

@ -1880,7 +1880,7 @@ namespace OpenSim.Framework
}
}
else if (
FireAndForgetMethod == FireAndForgetMethod.UnsafeQueueUserWorkItem
FireAndForgetMethod == FireAndForgetMethod.QueueUserWorkItem
|| FireAndForgetMethod == FireAndForgetMethod.UnsafeQueueUserWorkItem)
{
threadPoolUsed = "BuiltInThreadPool";