Andrew C. Henle wrote:
> You can't find the source there because it's dynamically linked and in 
> another shared library (for all practical purposes that's true), and would 
> depend on the shared objects loaded by the executable that calls your example 
> code, when that executable is run.  The man page for the dynamic linker 
> 'ld.so.1' explains a good bit of how this works.  To see what shared objects 
> an executable loads when it's run, you can use the "ldd" utility.  The "lari" 
> utility would be useful to you, but I'm not as familiar with that off the top 
> of my head.
> 
> FWIW, the actual pthread_create() function that most executables call is 
> located in libthread.so in Solaris 10* and later - don't ask about earlier 
> versions of Solaris. ;-)
> 

That would actually be libc.so.1; libthread is a filter on libc.

Examine

http://cvs.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/libc/port/threads/pthread.c

The source browser is clearly having search problems.

- Bart


-- 
Bart Smaalders                  Solaris Kernel Performance
[EMAIL PROTECTED]               http://blogs.sun.com/barts
_______________________________________________
opensolaris-help mailing list
[email protected]

Reply via email to