mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
Implemented a Watchdog class. Do not manually create Thread objects anymore, use Watchdog.StartThread(). While your thread is running call Watchdog.UpdateThread(). When it is shutting down call Watchdog.RemoveThread(). Most of the threads in OpenSim have been updated
This commit is contained in:
@@ -1559,15 +1559,7 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||
public void Start()
|
||||
{
|
||||
m_log.Info("[HTTPD]: Starting up HTTP Server");
|
||||
|
||||
//m_workerThread = new Thread(new ThreadStart(StartHTTP));
|
||||
//m_workerThread.Name = "HttpThread";
|
||||
//m_workerThread.IsBackground = true;
|
||||
//m_workerThread.Start();
|
||||
//ThreadTracker.Add(m_workerThread);
|
||||
StartHTTP();
|
||||
|
||||
|
||||
}
|
||||
|
||||
private void StartHTTP()
|
||||
|
||||
Reference in New Issue
Block a user