Copyright

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 Addison-Wesley was aware of a trademark claim, the designations have been printed with initial capital letters 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 omissions. 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 discounts on this book when ordered in quantity for bulk purchases and special sales. For more information, please contact:

     U.S. Corporate and Government Sales,     (800) 382-3419,     .

For sales outside of the U.S., please contact:

     International Sales,     (317) 581-3793,     .

Visit Addison-Wesley on the Web: www.awprofessional.com

Library of Congress Cataloging-in-Publication Data

Butenhof, David R., 1956–   Programming with POSIX threads / David R. Butenhof.     p. cm.—(Addison-Wesley professional computing series)   Includes bibliographical references and index.   ISBN 0-201-63392-2 (pbk.)   1. Threads (Computer programs) 2. POSIX (Computer software standard) 3. Electronic digital computers—  Programming. I. Title. II. Series.QA76.76.T55B88 1997005.4’32—dc21                                       97-6635                                                                    CIP

Copyright © 1997 by Addison-Wesley©

All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form, or by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior consent of the publisher. Printed in the United States of America. Published simultaneously in Canada.

For information on obtaining permission for use of material from this work, please submit a written request to:

     Pearson Education, Inc.,     Rights and Contracts Department,     75 Arlington Street, Suite 300,     Boston, MA 02116,     Fax: (617) 848-7047.

Trademark acknowledgments

UNIX is a registered trademark in the United States and other countries, licensed exclusively through X/Open Company Ltd. Digital, DEC, Digital UNIX, DECthreads, VMS, and OpenVMS are trademarks of Digital Equipment Corporation. Solaris, SPARC, SunOS, and Sun are trademarks of Sun Microsystems Incorporated. SGI and IRIX are trademarks of Silicon Graphics, Incorporated. HP-UX is a trademark of Hewlett-Packard Company. AIX, IBM, and OS/2 are trademarks or registered trademarks of the IBM Corporation. X/Open is a trademark of X/Open Company Ltd. POSIX is a registered trademark of the Institute of Electrical and Electronics Engineers, Inc.

Text printed in the United States on recycled paper at RR Donnelley Crawfordsville in Crawfordsville, Indiana.

21st Printing, December 2008

Dedication

To Anne, Amy, and Alyssa.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.141.31.209