Shift-click to download it.
Name Last modified Size Description
Parent Directory 05-Jan-2004 08:31 -
computethread.c 21-May-2003 18:07 1k
computethread.h 21-May-2003 18:07 1k
computethreadmain.c 21-May-2003 18:07 2k
computethreadsig.c 21-May-2003 18:07 2k
convertlinux 21-May-2003 18:07 1k
convertlinux.ed 21-May-2003 18:07 1k
convertmac 21-May-2003 18:07 1k
convertmac.ed 21-May-2003 18:07 1k
counter.c 21-May-2003 18:07 1k
countertest.c 21-May-2003 18:07 3k
doneflag.c 21-May-2003 18:07 1k
doneflag.h 21-May-2003 18:07 1k
globalerror.c 21-May-2003 18:07 1k
globalerror.h 21-May-2003 18:07 1k
listlib.c 21-May-2003 18:07 3k
listlib.h 21-May-2003 18:07 1k
listlib_r.c 21-May-2003 18:07 2k
listlibn.c 21-May-2003 18:07 1k
listlibrw.c 21-May-2003 18:07 1k
listlibrw_r.c 21-May-2003 18:07 2k
makefile 21-May-2003 18:07 3k
printinitmutex.c 21-May-2003 18:07 1k
printinitmutextest.c 21-May-2003 18:07 1k
printinitonce.c 21-May-2003 18:07 1k
printinitoncetest.c 21-May-2003 18:07 1k
randsafe.c 21-May-2003 18:07 1k
randsafe.h 21-May-2003 18:07 1k
sharedsum.c 21-May-2003 18:07 1k
sharedsum.h 21-May-2003 18:07 1k
showresults.c 21-May-2003 18:07 1k
signalthread.c 21-May-2003 18:07 2k
signalthread.h 21-May-2003 18:07 1k
strerror_r.c 21-May-2003 18:07 1k
strerrortest.c 21-May-2003 18:07 1k
tbarrier.c 21-May-2003 18:07 1k
tbarriertest.c 21-May-2003 18:07 1k
testandsetonce.c 21-May-2003 18:07 1k
testandsetoncetest.c 21-May-2003 18:07 1k
wastetime.c 21-May-2003 18:07 1k
This file contains information about compiling the programs from Chapter 13 of UNIX Systems Programming. Under Solaris: no changes needed. Under Linux: Compiling the programs under Linux typically requires that the constant _GNU_SOURCE be defined. Run the convertlinux program once to modify the makefile use this constant. Also, Linux has a strerror_r in the standard library that conflicts with the one defined in this chapter. The convertlinux program removes strerrortest from the programs that are compiled by default. Under Mac OS X: Mac OS X does not need to have the rt library explicitly included on the compile line. Run the convertmac program once to modify the makeilfe to remove this. If you run the programs on another system and need to make modifications to make them work, please send email to authors@usp.cs.utsa.edu to let us know what you did.