Mono.MicroThreads.Continuation.Mark C# (CSharp) Method

Mark() private method

private Mark ( ) : void
return void
		public void Mark()
		{
			Print("Mark()");
			// skip 1 frame, ie. this function
			mark_continuation_frame(m_handle, 1);
		}

Usage Example

Esempio n. 1
0
 public int GetNext(int a, int b, int c, int d, int e)
 {
     if (m_cont == null)
     {
         m_cont = new Continuation();
         m_cont.Mark();
         return m_cont.Store(0);
     }
     else
     {
         m_cont.Restore(1);
         throw new Exception("not reached");
     }
 }
All Usage Examples Of Mono.MicroThreads.Continuation::Mark