Multicore Application Programming - Gove_ Darryl.pdf
(
3473 KB
)
Pobierz
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
Multicore
Application
Programming
Multicore
Application
Programming
For Windows, Linux, and
Oracle
®
Solaris
Darryl Gove
Upper Saddle River, NJ
•
Boston
•
Indianapolis
•
San Francisco
New York
•
Toronto
•
Montreal
•
London
•
Munich
•
Paris
•
Madrid
Capetown
•
Sydney
•
Tokyo
•
Singapore
•
Mexico City
Many of the designations used by manufacturers and sellers to distinguish their products
are claimed as trademarks. Where those designations appear in this book, and the publisher
was aware of a trademark claim, the designations have been printed with initial capital let-
ters or in all capitals.
The author and publisher have taken care in the preparation of this book, but make no
expressed or implied warranty of any kind and assume no responsibility for errors or omis-
sions. No liability is assumed for incidental or consequential damages in connection with or
arising out of the use of the information or programs contained herein.
The publisher offers excellent discounts on this book when ordered in quantity for bulk pur-
chases or special sales, which may include electronic versions and/or custom covers and
content particular to your business, training goals, marketing focus, and branding interests.
For more information, please contact:
U.S. Corporate and Government Sales
(800) 382-3419
corpsales@pearsontechgroup.com
Editor-in-Chief
Mark Taub
Acquisitions Editor
Greg Doench
Managing Editor
John Fuller
Project Editor
Anna Popick
Copy Editor
Kim Wimpsett
Indexer
Ted Laux
Proofreader
Lori Newhouse
Editorial Assistant
Michelle Housley
Cover Designer
Gary Adair
Cover Photograph
Jenny Gove
Compositor
Rob Mauhar
For sales outside the United States please contact:
International Sales
international@pearson.com
Visit us on the Web: informit.com/aw
Library of Congress Cataloging-in-Publication Data
Gove, Darryl.
Multicore application programming : for Windows, Linux, and Oracle
Solaris / Darryl Gove.
p. cm.
Includes bibliographical references and index.
ISBN 978-0-321-71137-3 (pbk. : alk. paper)
1. Parallel programming (Computer science) I. Title.
QA76.642.G68 2011
005.2'75--dc22
2010033284
Copyright © 2011 Pearson Education, Inc.
All rights reserved. Printed in the United States of America. This publication is protected
by copyright, and permission must be obtained from the publisher prior to any prohibited
reproduction, storage in a retrieval system, or transmission in any form or by any means,
electronic, mechanical, photocopying, recording, or likewise. For information regarding per-
missions, write to:
Pearson Education, Inc.
Rights and Contracts Department
501 Boylston Street, Suite 900
Boston, MA 02116
Fax: (617) 671-3447
ISBN-13: 978-0-321-71137-3
ISBN-10: 0-321-71137-8
Text printed in the United States on recycled paper at RR Donnelley in Crawfordsville, IN.
First printing, October 2010
Contents at a Glance
Preface
xv
Acknowledgments
xix
About the Author
xxi
Hardware, Processes, and Threads
1
1
Coding for Performance
2
31
Identifying Opportunities for Parallelism
3
85
Synchronization and Data Sharing
4
121
Using POSIX Threads
5
143
Windows Threading
6
199
Using Automatic Parallelization and OpenMP
7
245
Hand-Coded Synchronization and Sharing
8
295
Scaling with Multicore Processors
9
333
Other Parallelization Technologies
10
383
Concluding Remarks
11
411
Bibliography
417
Index
419
Plik z chomika:
superktos86
Inne pliki z tego folderu:
cover.jpg
(56 KB)
metadata.opf
(5 KB)
Multicore Application Programming - Gove_ Darryl.pdf
(3473 KB)
Inne foldery tego chomika:
Solaris Application Programming (2988)
Zgłoś jeśli
naruszono regulamin