积累: .net里有个线程安全的int+1类

来源:互联网 发布:JavaScript post 编辑:程序博客网 时间:2024/06/07 18:29
 Interlocked.Increment(ref id);