摘要: Guarded BlocksThreads often have to coordinate their actions. The most common coordination idiom is theguarded block. Such a block begins by polling a condition that must be true before the block can proceed. There are a number of steps to follow in order to do this correctly.Suppose, for examplegua 阅读全文
posted @ 2013-08-06 00:05 alexander.bruce.lee 阅读(804) 评论(0) 推荐(0)