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