摘要: No SynchronizationThis first example illustrates two unsynchronized threads. The main loop, which is the primary thread of a process, prints the contents of a global array of integers. The thread called "Thread" continuously populates the global array of integers.Collapse|Copy Code #includ 阅读全文
posted @ 2013-01-30 12:05 瓜蛋 阅读(267) 评论(0) 推荐(0) 编辑