static void AsyncExcute(int s)
 {
     ThreadManage.BindThreadResource(s);
     pool[s].threadid = GetCurrentThreadId();
     try
     {
         while (true)
         {
             pool[s].are.WaitOne();
             if (stop)
             {
                 return;
             }
             pool[s].run = true;
             for (int i = s; i < buff_async.Length; i += 2)
             {
                 if (buff_async[i] != null)
                 {
                     buff_async[i]();
                     buff_async[i] = null;
                 }
             }
             pool[s].run = false;
         }
         // ...
         throw null;    // 异常会在下面被捕获
                        // ...
     }
     catch (Exception ex)
     {
         // 一般会记录异常, 和/或通知其它线程我们遇到问题了
         // ...
         Debug.WriteLine(ex);
     }
 }