ryujinx-mirror/Ryujinx.HLE/HOS/Services/ServiceAttributes.cs
gdkchan 6c9565693f
IPC refactor part 1: Use explicit separate threads to process requests (#1447)
* Changes to allow explicit management of service threads

* Remove now unused code

* Remove ThreadCounter, its no longer needed

* Allow and use separate server per service, also fix exit issues

* New policy change: PTC version now uses PR number
2020-09-22 14:50:40 +10:00

17 lines
No EOL
409 B
C#

using System;
namespace Ryujinx.HLE.HOS.Services
{
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
class ServiceAttribute : Attribute
{
public readonly string Name;
public readonly object Parameter;
public ServiceAttribute(string name, object parameter = null)
{
Name = name;
Parameter = parameter;
}
}
}