Re: difference between -pthread and -lpthread

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: patrick keshishian
Date: Monday, February 16, 2009 - 10:06 am

man cc
/-pthread
nn

       -pthreads
           Add support for multithreading using the POSIX threads
           library.  This option sets flags for both the
           preprocessor and linker.  This option does not affect
           the thread safety of object code produced  by the
           compiler or that of libraries supplied with it.



On Mon, Feb 16, 2009 at 5:32 AM, cnav <cnav@talamasca.pl> wrote:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
difference between -pthread and -lpthread, cnav, (Mon Feb 16, 6:32 am)
Re: difference between -pthread and -lpthread, patrick keshishian, (Mon Feb 16, 10:06 am)
Re: difference between -pthread and -lpthread, Jacob Meuser, (Mon Feb 16, 2:58 pm)
Re: difference between -pthread and -lpthread, Jacob Meuser, (Tue Feb 17, 3:00 am)
Re: difference between -pthread and -lpthread, Antoine Jacoutot, (Tue Feb 17, 3:14 am)
Re: difference between -pthread and -lpthread, patrick keshishian, (Tue Feb 17, 11:20 am)