[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pthread



Marc Matteo wrote:

>On Sat, 2003-05-24 at 12:49, Flinn Mueller wrote:
>  
>
>>Is this true for 3.1?  I know I've always heard use -pthread, but why 
>>are there times that -pthread does not work, and -lpthread does?
>>    
>>
>
>-pthread has for a long, long time been the flag that "just does the
>right thing".  That's why we like it.  Back when -lc_r was needed,
>-pthread handled that.  When we got a proper libpthread, -thread handled
>that.
>
>If there's a case where -pthread doesn't work but -lpthread does then
>you've broken something.
>
Any idea what I should be looking for here?

Thanks very much for your help.

Regards,
Flinn