| home | help | back | first | fref | pref | prev | next | nref | lref | last | post |
To: pthreads@MIT.EDU
Date: Fri, 19 Jan 1996 11:17:24 -0500
From: jha@cs.purdue.edu ("John H. Aughey")
The link line in pgcc.sh has '-lpthread -lm -lgcc -lpthread'. Why is
pthread linked twice?
Also, I would like to suggest a shared library is compiled as well.
Linking statically takes a long time and creates a huge binary. I
would much rather link dynamically and only link statically if I need
to move the binary to a machine without the shared library.
Also, is there a way to get statistics about the threads, locks, etc?
In particular I'd like to be able to know how much time is spent idle
while waiting for a lock. This would let me know if I need to rewrite
some of my code to avoid the locks.
-John
| home | help | back | first | fref | pref | prev | next | nref | lref | last | post |