mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 02:36:00 +08:00
Label all threadpool calls being made in core OpenSimulator. This is to add problem diagnosis.
"show threadpool calls" now also returns named (labelled), anonymous (unlabelled) and total call stats.
This commit is contained in:
@@ -226,7 +226,10 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
// We must take a copy here since handle is acts like a reference when used in an iterator.
|
||||
// This leads to race conditions if directly passed to SendCloseChildAgent with more than one neighbour region.
|
||||
ulong handleCopy = handle;
|
||||
Util.FireAndForget((o) => { SendCloseChildAgent(agentID, handleCopy, auth_code); });
|
||||
Util.FireAndForget(
|
||||
o => SendCloseChildAgent(agentID, handleCopy, auth_code),
|
||||
null,
|
||||
"SceneCommunicationService.SendCloseChildAgentConnections");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user