摘要: SemaphoreSlim类 代码: static SemaphoreSlim semaphoreSlim = new SemaphoreSlim(4);//只允许4个并行执行的线程 public static void AccessDataBase(string name,int seconde) 阅读全文
posted @ 2020-04-06 19:28 梦一回 阅读(175) 评论(0) 推荐(0) 编辑