A Minicourse on Multithreaded Programming
A Minicourse on Multithreaded Programming
复制标题
多线程编程迷你课程
DOI:
--
复制
发表时间:
1998
期刊:
影响因子:
--
通讯作者:
H. Prokop
中科院分区:
文献类型:
--
作者:
C. Leiserson;H. Prokop
These notes contain two lectures that teach multithreaded algorithms using a Cilk like model These lectures were designed for the latter part of the MIT undergraduate class Introduction to Algorithms The style of the lecture notes follows that of the textbook by Cormen Leiserson and Rivest but the pseudocode from that textbook has been Cilki ed to allow it to describe multithreaded algo rithms The rst lecture teaches the basics behind multithreading including de ning the measures of work and critical path length It culminates in the greedy scheduling theorem due to Graham and Brent The second lecture shows how parallel applications including matrix multiplication and sorting can be analyzed using divide and conquer recurrences Multithreaded programming As multiprocessor systems have become increasingly available interest has grown in parallel programming Multithreaded programming is a programming paradigm in which a single program is broken into multiple threads of control which interact to solve a single problem These notes provide an introduction to the analysis of multithreaded algorithms This research was supported in part by the Defense Advanced Research Projects Agency DARPA under Grant F