Threads primer [Book Reviews]

J. Zalewski
{"title":"Threads primer [Book Reviews]","authors":"J. Zalewski","doi":"10.1109/M-PDT.1996.532147","DOIUrl":null,"url":null,"abstract":"chronous, and unbuffered and buffered, message passing. He upgrades algorithms studied in previous chapters so that mutual exclusion can be enforced on distributed systems. The chapter covers SR send and receive instructions, the powerful SR input (in) statement that implements extended rendezvous with two-way information flow, remote procedure calls, and client/ server programming. Example programs show that the SR runtime system buffers dynamically allocated virtual memory messages that are sent but not yet received, and that the SR runtime system’s process (thread) table is dynamically allocated. This SO-page chapter demonstrates S R s power in the distributed environment, and brings together and greatly augments all that has been learned in Chapters 1 through 5 . The chapter includes a useful summary of SR operations and their invocations, providing a good overview of the language. The chapter concludes with an Xtango color animation of the distributed dining philosophers program presented in The SR Language. The programs in Chapter 7 demonstrate SR’s effectiveness as a language for writing parallel programs that perform numerically intensive computations and that have processes that must synchronize or communicate relatively frequently. The chapter presents coarse-grained parallel SR programs that solve the N Queens problem and the dining philosophers problem on multiple machines. Other programs implement different patterns of communication between collections of processes and provide examples of data parallelism and master-worker organization. The SR language environment contains SRWin, an interface to the X-Windows graphics system. SRWin is a lower-level interface than Xtango is, and might be harder to use. T o complete the book, Hartley has written an SR resource that serves as an interface to Xtango so that its drawing and moving procedures can be called directly from an SR program. He also presents an animatlon of Quicksort using SRWin, so that the reader can compare the difference. Operatzng Systems Programmzng: The SR Language is a carefully and concisely written introduction to concurrent and parallel programming and to the SR language. I have used it successfully in my undergraduate and graduate Operating Systems and Parallel Programming courses for the past year. This unique book works well as the concurrent programming supplement to a standard course text such as Operatzng System Concepts, 4th Ed , by Abraham Silberschatz and Peter Galmn, Addison-Wesley.","PeriodicalId":325213,"journal":{"name":"IEEE Parallel & Distributed Technology: Systems & Applications","volume":"487 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1996-01-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"IEEE Parallel & Distributed Technology: Systems & Applications","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/M-PDT.1996.532147","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

chronous, and unbuffered and buffered, message passing. He upgrades algorithms studied in previous chapters so that mutual exclusion can be enforced on distributed systems. The chapter covers SR send and receive instructions, the powerful SR input (in) statement that implements extended rendezvous with two-way information flow, remote procedure calls, and client/ server programming. Example programs show that the SR runtime system buffers dynamically allocated virtual memory messages that are sent but not yet received, and that the SR runtime system’s process (thread) table is dynamically allocated. This SO-page chapter demonstrates S R s power in the distributed environment, and brings together and greatly augments all that has been learned in Chapters 1 through 5 . The chapter includes a useful summary of SR operations and their invocations, providing a good overview of the language. The chapter concludes with an Xtango color animation of the distributed dining philosophers program presented in The SR Language. The programs in Chapter 7 demonstrate SR’s effectiveness as a language for writing parallel programs that perform numerically intensive computations and that have processes that must synchronize or communicate relatively frequently. The chapter presents coarse-grained parallel SR programs that solve the N Queens problem and the dining philosophers problem on multiple machines. Other programs implement different patterns of communication between collections of processes and provide examples of data parallelism and master-worker organization. The SR language environment contains SRWin, an interface to the X-Windows graphics system. SRWin is a lower-level interface than Xtango is, and might be harder to use. T o complete the book, Hartley has written an SR resource that serves as an interface to Xtango so that its drawing and moving procedures can be called directly from an SR program. He also presents an animatlon of Quicksort using SRWin, so that the reader can compare the difference. Operatzng Systems Programmzng: The SR Language is a carefully and concisely written introduction to concurrent and parallel programming and to the SR language. I have used it successfully in my undergraduate and graduate Operating Systems and Parallel Programming courses for the past year. This unique book works well as the concurrent programming supplement to a standard course text such as Operatzng System Concepts, 4th Ed , by Abraham Silberschatz and Peter Galmn, Addison-Wesley.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
线程入门[书评]
同步、无缓冲和有缓冲的消息传递。他升级了前几章中研究的算法,使互斥可以在分布式系统上强制执行。本章涵盖了SR发送和接收指令,强大的SR输入(in)语句,它实现了扩展的双向信息流,远程过程调用和客户端/服务器编程的集合。示例程序显示了SR运行时系统缓冲已发送但尚未接收的动态分配的虚拟内存消息,并且SR运行时系统的进程(线程)表是动态分配的。这一章展示了rs在分布式环境中的强大功能,并将第1章到第5章所学到的内容结合在一起,极大地扩展了这些内容。这一章包含了SR操作及其调用的一个有用的总结,提供了对语言的一个很好的概述。本章以Xtango彩色动画结束,该动画展示了《SR语言》中的分布式用餐哲学家计划。第7章中的程序演示了SR作为一种编写并行程序的语言的有效性,这些并行程序执行数字密集型计算,并且具有必须同步或相对频繁地通信的进程。本章介绍了在多台机器上解决N个皇后问题和用餐哲学家问题的粗粒度并行SR程序。其他程序在进程集合之间实现不同的通信模式,并提供数据并行性和主工组织的示例。SR语言环境包含SRWin,一个X-Windows图形系统的接口。SRWin是一个比Xtango更低级的接口,可能更难使用。为了完成这本书,Hartley编写了一个SR资源,作为Xtango的接口,以便其绘图和移动过程可以直接从SR程序中调用。他还提供了一个使用SRWin的快速排序动画,以便读者可以比较它们的差异。《操作系统编程:SR语言》是一本关于并发和并行编程以及SR语言的简明扼要的介绍。在过去的一年里,我在本科和研究生的操作系统和并行编程课程中成功地使用了它。这本独特的书很好地作为标准课程文本的并发编程补充,如由Abraham Silberschatz和Peter Galmn, Addison-Wesley编写的《Operatzng System Concepts, 4th Ed》。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
A Unified Trace Environment for IBM SP systems Integrating personal computers in a distributed client-server environment Index, volume 4, 1996 Fault-tolerant computer system design Topics in advanced scientific computation
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1