Exemple #1
0
        private void RunContinuations(PerlaStatus status)
        {
            switch (status)
            {
#warning need_to_done
            }
        }
Exemple #2
0
 protected virtual void Dispose(bool disposing)
 {
     if (disposing)
     {
         if (!IsCompleted)
         {
             throw new InvalidOperationException("Item Dispose NotCompleted");
         }
         this.m_status = PerlaStatus.Disposed;
         ManualResetEventSlim ev = m_completionEvent;
         if (ev != null)
         {
             m_completionEvent = null;
             if (!ev.IsSet)
             {
                 ev.Set();
             }
             ev.Dispose();
         }
     }
 }
Exemple #3
0
 protected void SetFlag(PerlaStatus flag)
 {
     this.m_status = flag;
 }
Exemple #4
0
 protected bool ContainsFlag(PerlaStatus flag)
 {
     return(this.m_status.HasFlag(flag));
 }