4 using System.Runtime.CompilerServices;
6 namespace SiliconStudio.Core.MicroThreading
14 this.microThread = microThread;
22 public bool IsCompleted
26 lock (microThread.Scheduler.scheduledMicroThreads)
28 return microThread.Scheduler.scheduledMicroThreads.Count == 0;
40 microThread.ScheduleContinuation(ScheduleMode.Last, continuation);
MicroThreadYieldAwaiter(MicroThread microThread)
Represents an execution context managed by a Scheduler, that can cooperatively yield execution to ano...
void OnCompleted(Action continuation)
MicroThreadYieldAwaiter GetAwaiter()