Ryujinx/Ryujinx.HLE/HOS/Services/CommandAttributes.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

12 lines
260 B
C#

using System;
namespace Ryujinx.HLE.HOS.Services
{
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
class CommandAttribute : Attribute
{
public readonly int Id;
public CommandAttribute(int id) => Id = id;
}
}