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

 Interlocked.Increment(ref id); 
posted @ 2017-08-11 09:22  Martin_lee  阅读(158)  评论(0编辑  收藏  举报