Exemple #1
0
 public bool Stop(int handle)
 {
     lock (mThreadContexts.SyncRoot)
     {
         IRecordContext ctx = (IRecordContext)mThreadContexts["ThreadContext_" + handle];
         if (ctx != null)
         {
             return(ctx.Stop());
         }
     }
     return(false);
 }