Пример #1
0
 public bool Pause(int handle)
 {
     lock (mThreadContexts.SyncRoot)
     {
         IRecordContext ctx = (IRecordContext)mThreadContexts["ThreadContext_" + handle];
         if (ctx != null)
         {
             return(ctx.Suspend());
         }
     }
     return(false);
 }