2010年9月12日

how can you communicate how much faster your concurrent application now performs

摘要: You could report two execution figures-serial execution timeparallel execution timeon the same input data set-to your manager.speedupWhen computing speedup, be sure to use the best serial algorithms a... 阅读全文

posted @ 2010-09-12 17:38 胡是 阅读(282) 评论(0) 推荐(0) 编辑

FOUR NECESSARY CONDITIONS REQUIRED TO ALLOW DEADLOCK

摘要: To have the potential for deadlock between two or more threads and the set of resources that are required by each, four conditions must be met. In a paper titled, "Sequencing tasks in multiprocess sys... 阅读全文

posted @ 2010-09-12 17:05 胡是 阅读(228) 评论(0) 推荐(0) 编辑

Dekker’s Algorithm - Critical Section

摘要: The development of code that eventually leads to Dekker's Algorithm is used to illustrate M. Ben-Ari's methods of verifying the correctness of concurrent algorithms. One thread will be executing the T... 阅读全文

posted @ 2010-09-12 10:19 胡是 阅读(491) 评论(0) 推荐(0) 编辑

导航