mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 17:55:48 +08:00
Merge branch 'master' into careminster
Conflicts: OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs OpenSim/Region/CoreModules/Framework/Caps/CapabilitiesModule.cs OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace OpenSim.Region.Framework.Interfaces
|
||||
{
|
||||
public interface IServiceThrottleModule
|
||||
{
|
||||
/// <summary>
|
||||
/// Enqueue a continuation meant to get a resource from elsewhere.
|
||||
/// As usual with CPS, caller beware: if that continuation is a never-ending computation,
|
||||
/// the whole thread will be blocked, and no requests are processed
|
||||
/// </summary>
|
||||
/// <param name="category">Category of the resource (e.g. name, region)</param>
|
||||
/// <param name="itemid">The resource identifier</param>
|
||||
/// <param name="continuation">The continuation to be executed</param>
|
||||
void Enqueue(string category, string itemid, Action continuation);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user