Mono.MicroThreads.Scheduler.WakeUpInternal C# (CSharp) Method

WakeUpInternal() static private method

static private WakeUpInternal ( MicroThread thread ) : void
thread MicroThread
return void
        void WakeUpInternal(MicroThread thread)
        {
            Print("Waking up thread {0}", thread);

            m_waitingThreadCount--;

            thread.m_state = MicroThreadState.Scheduled;

            AddInternal(thread);
        }

Usage Example

 public static void WakeUp(MicroThread thread)
 {
     s_scheduler.WakeUpInternal(thread);
 }