Add Book to My BookshelfPurchase This Book Online

Appendix B - Pthreads Draft 4 vs. the Final Standard

Pthreads Programming
Bradford Nichols, Dick Buttlar and Jacqueline Proulx Farrell
 Copyright © 1996 O'Reilly & Associates, Inc.

Threadsafe System Interfaces
Feature: In Draft 4, threadsafe system interfaces are optional; if the interfaces are supported on a given implementation, the compile-time constant _POSIX_REENTRANT_FUNCTIONS is TRUE. On an implementation that supports the final standard, this constant, when defined, must always be TRUE. 
Feature: The Draft 4 version uses the term reentrant more often than it does threadsafe
Feature: Draft 4 and the final standard vary in their lists of those library functions and system calls that don't need to be made threadsafe and those calls that require new, alternative reentrant versions. 
Feature: Draft 4 does not define the ftrylockfile call. 
Syntax: In Draft 4, the names of the faster versions of the threadsafe character-cell I/O calls have the form unlocked_<xxx>; in the final standard, the names have the form <xxx>_unlocked

Previous SectionNext Section
Books24x7.com, Inc © 2000 –  Feedback