摘要: 1. 本节将描述如何确保当一个线程使用某些资源时,同时其他线程无法使用该资源。 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; 阅读全文
posted @ 2022-08-07 13:41 ch_逆流而上 阅读(38) 评论(0) 推荐(0)
摘要: 1. 如何提供一段代码来使用要求的数据运行另一个线程 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System. 阅读全文
posted @ 2022-08-07 10:45 ch_逆流而上 阅读(22) 评论(0) 推荐(0)