Discount Book Store - Rbookshop.comOnline Book StoreBusiness BooksComputer BooksEngineering BooksMathematics BooksScience BooksView All Categoriesnavmap
arrow Search for books at ARC Spider:
arrow Search for books at Powells:
arrow
Buy a Book from Amazon.com
bar
How to buy? - A step-by-step guide

Book Categories


Programming Under Mach (UNIX and Open Systems Series)

Buy Programming Under Mach (UNIX and Open Systems Series) here, one of many UNIX books offered for sale at discount prices here at Rbookshop.com.  We greatly appreciate your patronage at Rbookshop and look forward to offering you great products and prices now and in the future.
You Are Here:  Home > Computer Books > UNIX > Item 157

View Previous Product in our UNIX Store      View Next Product in our UNIX Store

Click here to buy Programming Under Mach (UNIX and Open Systems Series) by  Joseph Boykin, David Kirschen, Alan Langerman, and Susan LoVerso. Programming Under Mach (UNIX and Open Systems Series)
by Joseph Boykin, David Kirschen, Alan Langerman, and Susan LoVerso
Sales Rank: 1387348
0.0 out of 5 stars
$19.99
At Amazon
on 10-8-2008.
Buy Programming Under Mach (UNIX and Open Systems Series) now! Get Info on Programming Under Mach (UNIX and Open Systems Series)
Features
  • Cover Type: Paperback with 480 pages
  • Published by: Addison-Wesley Professional April 30, 1993
  • Written in: English
  • ISBN 10 Number: 0201527391
  • ISBN 13 Number: 978-0201527391
  • Book Dimensions: 9.3 x 6.2 x 1 inches
  • Weighs: 1.6 pounds

From the Inside Flap
Why This Book

Not since the development of UNIX at AT&T Bell Laboratories has anew operating system (OS) stirred so much interest in thecomputer industry. The Mach operating system is the result ofresearch at Carnegie Mellon University (CMU) that began in themid-1980's and continues today. The goal of that research was todevelop a new operating system that would allow computerprogrammers to exploit modern hardware architectures emergingfrom vendors, universities, and research laboratories. Thisoperating system was designed to reduce the number of features inthe kernel and, in turn, reduce the size of the kernel, thusreversing the growing trend to produce operating systems withmany features and excessive complexity. The system would by easyto use, with just five basic programming abstractions.

As interest in the Mach operating system has grown, so has theneed for a focused, programmer-oriented book explaining how touse it. This book fills a need for in-depth technicalinformation on using Mach to develop your applications. Itintroduces you to the fundamental Mach concepts and includes some"nuts and bolts" examples so you can learn how to apply thoseconcepts.

Why a book specifically about Mach? We have been directlyinvolved with Mach since 1986. We have frequently heard thequestion, "Where can I get information about using Mach?" Unfortunately, there has been no source of introductory materialgenerally available. While there are many good programmingintroductions for UNIX, Mach is so new that no such resourcesexist. The largest body of information on Mach is in the form ofsystem-level documentation and papers published in journals andconference proceedings. You can find a reference and readinglist of these published documents in Appendix D. This materialis of interest to operating system developers and researchers,but it does not priovide an organized introduction to using Mach. We felt it was time for a solid, hands-on approach that wouldtake the mystery out of writing programs under Mach.

This book is not a general introduction to programming nor atextbook on operating systems concepts. It is, however, acomplete introduction to writing Mach programs. Starting withfundamental examples, the text progresses to more advanced use ofMach services. The approach is based on code fragments as wellas entire programs to illustrate practical techniques. This codeprovides effective ways to illustrate the application of generalprinciples. For instance, Chapter 3 on interprocesscommunication (IPC) develops a complete client/serverapplication. The design rationale for each segment of code isgiven so that you can see what kinds of tradeoffs and issuesarise in developing programs for Mach.

To get the most out of this book, you should be conversant withprogramming in the C language and you should have somefamiliarity with programming on another modern operating system,particularly UNIX. We recommend that you try these examples on aMach system, although you can certainly learn the basics of Machfrom this book without hands-on experience. We encourage you tomodify or extend our examples with new features or by usingdifferent Mach functions. Note that there are several versionsof Mach available. This book was written for Mach version 2.5.

About This Book

We begin our tour of Mach programming with some introductorydetails on writing Mach programs, such as necessary programdeclarations and header files, libraries and programmingconventions. The first few chapters of this book describe mostof the fundamental concepts of Mach. These chapters lay thefoundation for all the remaining chapters. For example, While most users will use a library interface to write multithreaded programs, it is important to understand the tasks and threasds model before seeing how the library abstracts the basic concepts. Two such libraries are the C Threads and P Threads packages. The basics of IPC must be understood before writing a client and server program using the Mach interface generator program. It is important to understand basic virtual memory concepts and the VM/IPC integration before using more advanced virtual memory concepts to manage memory objects.This book first presents the basic concepts and devotes a chapterto each of the aforementioned advanced topics. Successivechapters build on material presented in the earlier chapters.

The fundamental concepts are interdependent. They are presentedin these three chapters: Chapter 2, "Tasks and Threads"; Chapter3, "Interprocess Communication"; and Chapter 4, "Virtual Memory."We begin a more advanced discussion by exploring how to write amultithreaded program in Chapter 5, "C Threads." This chaptercovers topics ranging from the mechanics of creating and managingC Threads to synchronization and its impact.

An often overlooked, but very important, topic is covered inChapter 6, "Mach Exception Handling." This chapter describeswhen exceptions may be generated and how they are delivered toyour program. It discusses how you use the exception handlingfacility to make your program more robust by dealing withexceptions as an integral part of the program's design.

The next two chapters continue the discussion of interprocesscommmunication. Additional IPC topics are described in Chapter7, "Advanced IPC." These topics include passing port rights,sending out-of-line data, and detailed information about portmanagers. Immediately following, while IPC is still fresh inyour mind, is a presentation ofthe Mach Interface Generator (MIG)in Chapter 8. This facility provides an easy way to writeclient/server programs that communicate using messages and ports.

One of the most difficult topics, external memory management, isdealt with in Chapter 9. This chapter requires a clearunderstanding of the virtual memory subsystem from Chapter 4. The seemingly daunting task of writing a user-level program tomanage memory objects is explained clearly. A sample memorymanagement program is developed step by step to make the conceptsunderstandable.

The POSIX threads interface, P Threads, is presented in Chapter10, which discusses OSF/1. The concepts in P Thgreads aresimilar to those explained in Chapter 5, but the packagerepresents a standardized interface.

We devote a chapter to practical techniques for programming underMach in Chapter 11, "Mach Programming." We discuss how tomultithread an application from a more philosophical standpoint. This chapter also explains differences between Mach and 4.3BSD. The hazards of mixing UNIX signals and Mach system calls with thetask and thread model are discussed.

The interfaces to Mach are presented in their respectivechapters. We provide a system call summary in Appendix C.

Acknowledgements

We would like to thank the many people who helped make this bookpossible, though their input, comments, reviews, and suggestions. We would like tot hank the eitors at Addison-Wesley for theirinfinite patience and perseverance. Specifically, we would liketo extend our appreciation to Debbie Lafferty, Keith Wollman, andJim DeWolf (Addison-Wesley), David Black (OSF ResearchInstitute), Richard Draves (Microsoft Corporation), Mary Thompson(Carnegie Mellon University), Isaac Nassi (Apple Computer),Barbara Boykin, John LoVerso, Marilyn Kirschen, and Buster. Wewould like to extend our appreciation to the following reviews,whose comments and opinions were very helpful throughout thewriting of this book: David Black, Richard Draves, David Finkel,David Mitchell, Barry Shein, David Slattengren, Vance Vaughan,and Stephen Vinoski. 0201527391P04062001

Back Cover Copy




Move over UNIX, Mach is here. Mach is becoming the programmingenvironment of choice. Originating as the result of agovernment-funded research project at Carnegie Mellon University,Mach is now breaking into the corporate world on advanced systemssuch as the NeXT workstation. Mach is the foundation for theOSF/1 operating system from the Open software Foundation. Technology from OSF/1 can be found on systems from many computervendors including IBM, DEC, and Hewlett-Packard. OSF/1 runs onmachines ranging from low-end workstations to mainframes tomassively parallel supercomputers.

Programming Under Mach provides a step-by-step approach tounderstanding Mach concepts. It is a complete introduction towriting Mach programs; these programs are illustrated throughcomprehensive examples. This book stresses how to implementmultithreaded programs which can automatically take advantage ofmultiprocessor systems.

Highlights include:
  • Discusses Interprocess Communication (IPC)
  • Explains Mach Virtual Memory handling
  • Explores External Memory Management which provides user-level control over virtual memory
  • Describes Mach's C Threads and P Threads libraries used to write multithreaded programs


This book is an great technical reference as well as apractical guide to developing applications for Mach. Applications developers, system programmers, UNIX programmers andresearchers will all find this book valuable.


0201527391B04062001

Reader Reviews
This book does not cover mach with the Apple Macintosh as the book appears to be out of date. It does, however, cover MIG which is available for the Mac.


Back To Top

View Previous Product in our UNIX Store      View Next Product in our UNIX Store

Programming Under Mach (UNIX and Open Systems Series)
Available from Amazon
Price: $19.99
Updated on 10-8-2008.
Buy Programming Under Mach (UNIX and Open Systems Series) now! Get Info on Programming Under Mach (UNIX and Open Systems Series)




NOTICE: All prices, availability, and specifications
are subject to verification by their respective retailers.




We offer Programming Under Mach (UNIX and Open Systems Series) and other related UNIX Books here at Rbookshop.com. To view more books about UNIX please use the previous and next buttons near the top of this page.




Alternative Med Books | Art Books | Business Books | Comic Books | Computer Books | Cook Books | Engineering Books | History Books | Hobby Books | Law Books | Mathematics Books | Medical Books | Popular Authors | Rare Books | Religion Books | Romance Books | Science Books | Science Fiction Books | Sports Books | Travel Books | Unusual Subjects Books
Discount Book Store
Rbookshop

Copyright © 2008, dvddispatcher.com

123971 Computer Books Online and Available as of 10-8-2008.