* Removed OpenSim.Data.NHibernate

* Replaced calls to ThreadPool.QueueUserWorkItem() with ThreadPool.UnsafeQueueUserWorkItem() since OpenSim does not use Code Access Security sandboxing
This commit is contained in:
John Hurliman
2009-10-19 16:52:27 -07:00
parent 72078195c2
commit fdce1be3db
103 changed files with 13 additions and 7726 deletions

View File

@@ -313,11 +313,11 @@ namespace Flotsam.RegionModules.AssetCache
}
ThreadPool.QueueUserWorkItem(
ThreadPool.UnsafeQueueUserWorkItem(
delegate
{
WriteFileCache(filename, asset);
}
}, null
);
}
}

View File

@@ -1095,7 +1095,7 @@ namespace OpenSim.Region.CoreModules.World.WorldMap
// The reason is so we don't cause the thread to freeze waiting
// for the 1 second it costs to start a thread manually.
if (!threadrunning)
ThreadPool.QueueUserWorkItem(new WaitCallback(this.StartThread));
ThreadPool.UnsafeQueueUserWorkItem(this.StartThread, null);
lock (m_rootAgents)
{