摘要: /// <summary> /// 信号量,类似于占坑机制,初始设为5个空的坑位,且最大5个位置 /// </summary> static readonly Semaphore semaphore = new Semaphore(5, 5); static void Test() { Task.R 阅读全文
posted @ 2023-09-08 17:21 WmW 阅读(57) 评论(0) 推荐(0) 编辑