This guide has covered a wide variety of important threads programming issues. Look in Appendix A, Sample Application—Multithreaded grep, for a pthreads program example that uses many of the features and styles that have been discussed. Look in Appendix B, Solaris Threads Example, for a program example that uses Solaris threads.
For more in-depth information about multithreading, see the following book:
Programming with Threads by Steve Kleiman, Devang Shah, and Bart Smaalders (Prentice-Hall, published in 1995)