2018-12-18 05:33:36 +00:00
|
|
|
namespace Ryujinx.HLE.HOS.Kernel.Threading
|
2018-03-19 18:58:46 +00:00
|
|
|
{
|
2018-09-23 18:11:46 +00:00
|
|
|
class KEvent
|
2018-09-18 23:36:43 +00:00
|
|
|
{
|
2018-12-05 00:52:39 +00:00
|
|
|
public KReadableEvent ReadableEvent { get; private set; }
|
|
|
|
public KWritableEvent WritableEvent { get; private set; }
|
2018-09-18 23:36:43 +00:00
|
|
|
|
2020-05-04 03:41:29 +00:00
|
|
|
public KEvent(KernelContext context)
|
2018-09-18 23:36:43 +00:00
|
|
|
{
|
2020-05-04 03:41:29 +00:00
|
|
|
ReadableEvent = new KReadableEvent(context, this);
|
|
|
|
WritableEvent = new KWritableEvent(context, this);
|
2018-09-18 23:36:43 +00:00
|
|
|
}
|
|
|
|
}
|
2018-03-19 18:58:46 +00:00
|
|
|
}
|