Hi Eljay, On Mon, May 10, 2004 at 11:01:50AM -0500, Eljay Love-Jensen wrote: > q.v. > http://vergil.chemistry.gatech.edu/resources/programming/threads.html > > It looks like it is up to YOU to put in the -D_POSIX_PTHREAD_SEMANTICS and > -D_REENTRANT on the compile line, and specify -lpthread on the link > line. thanks for your quick reply. But my problem is not how to compile and link programs using the pthreads library. In fact, my troubles started when building a single threaded program... The question is how can a library writer reliably decide in a header file whether the program is to support multithreading. (E.g., in a header-only library like boost::smart_ptr.) Regards Christoph -- http://www.informatik.tu-darmstadt.de/TI/Mitarbeiter/cludwig.html LiDIA: http://www.informatik.tu-darmstadt.de/TI/LiDIA/Welcome.html