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