Example #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="memory"></param>
 private void CheckMemoryIsReady(MarshalMemoryBlock memory)
 {
     while (memory.IsBusy())
     {
         LoggerService.Service.Info("Record", "记录出现阻塞 " + memory.Name);
         System.Threading.Thread.Sleep(1);
     }
 }