文件名称:线程安全集合类Concurrent测试
文件大小:17KB
文件格式:RAR
更新时间:2023-11-07 11:36:39
线程安全 Concurrent
Task task = BlockingCollectionUtil.AddTakeBlockingCollectionAsync(); Task.WaitAny(task); BlockingCollectionUtil.TryTakeBlockingCollection(); ConcurrentBagUtil.Test(); ConcurrentDictionaryUtil.Test(); ConcurrentQueueUtil.Test();
【文件预览】:
ThreadSafeCollectionDemo
----ThreadSafeCollectionDemo.exe(15KB)
----ConcurrentBagUtil.cs(2KB)
----Program.cs(723B)
----ConcurrentDictionaryUtil.cs(3KB)
----BlockingCollectionUtil.cs(4KB)
----ConcurrentQueueUtil.cs(2KB)
----ConcurrentStackUtil.cs(2KB)
----ThreadSafeCollectionDemo.pdb(46KB)
----ThreadSafeCollectionDemo.exe.config(187B)