Mono.MicroThreads.Scheduler.Wait C# (CSharp) Méthode

Wait() public static méthode

public static Wait ( ) : void
Résultat void
        public static void Wait()
        {
            s_scheduler.WaitInternal();
        }

Usage Example

        public void Wait()
        {
            if (m_state != MicroThreadState.Running)
            {
                throw new Exception(String.Format("Illegal thread state in Wait(): {0}", m_state));
            }

#if EXTRA_CHECKS
            if (CurrentThread != this)
            {
                throw new Exception("Trying to yield a non-current thread");
            }
#endif

            Scheduler.Wait();
        }