60c Subj : Re: Study Material for Multi-threaded application developement in UNIX/LINUX To : comp.programming.threads From : partow Date : Thu May 26 2005 06:23 pm Hi Torsten, The reason why there are different error handling techniques is because the user may need either the an exception oriented mechanism (where exceptions are thrown) or they may have a logging environment, where failures will be logged and tracked/intercepted . As for the mutexs, as explained on the site that was linked in my so- called *advertisement* the read-write mutex is bias towards the readers. one may need an atomic mutex (i can think of nearly 100 scenarios just off the top of my head), hence thats why the mutex class is made available. Overall the class is meant to show how the pthreads API can be used within a C++ context. and as mentioned before the site which was linked to in my so-called *advertisement* mentions that libraries such as ACE and BOOST should be considered as being more advanced and more functional and that the wrappers are by mere "educational" - learning tools/aids If you like have a quick look at this library: http://www.partow.net/downloads/producer-consumer-source.zip I would like to know your opinion. Regard Arash Partow __________________________________________________ Be one who knows what they don't know, Instead of being one who knows not what they don't know, Thinking they know everything about all things. http://www.partow.net . 0