Subj : Re: Where to download a pthread library To : comp.programming.threads From : David Hopwood Date : Sun Apr 03 2005 07:49 pm Casper H.S. Dik wrote: > David Butenhof writes: > >>The real point, beyond the few common examples, is that ALL of this is >>"implementation artifact", unless you're using a c89 or c99 command that >>conforms to UNIX 2001 or later. And I doubt that many people are -- even >>if there really ARE any fully conforming commands (which I also doubt). > > And the semantics may also change from one compiler or OS release > to the next. E.g., in Solaris 10 it's no longer required to link with > -lpthread or -lthread, only the #define is really needed. Which is why the only sensible solution is to have a compiler option whose purpose is to enable pthreads. Vote for ;-) -- David Hopwood .