Sathya3110 wrote:
> A multithreaded c program should be linked with libpthread.so. I found that
> in /usr/lib there are two pthread libs 1. libpthread.so, and 2.
> libpthread.a. But i found that there is also something called
> libpthread_nonshared.a. What is this used for? Please clarify.

libpthread_nonshared.a is probably is the static version of the library 
(i.e. code is linked into the final executable) while libpthread.a 
probably makes your code dependent on libpthread.so (shared library) 
being on the system.

-- 
Thomas Hruska
CubicleSoft President
Ph: 517-803-4197

*NEW* MyTaskFocus 1.1
Get on task.  Stay on task.

http://www.CubicleSoft.com/MyTaskFocus/

Reply via email to