On Mon, Nov 29, 2010 at 01:32:27PM -0800, Afantee Lee wrote: > Hi, > I am trying to replace the pthread library under Solaris with my own. My > plan is to modify the code from OpenSolaris (adding lots of profiling code), > and compile it as a dynamic lib. then, replace the one under Solaris with my > own. > > the question is: will this replacement work ? (if I did not the pthread code > from Opensolaris at all)
In Solaris 10 and later (including Opensolaris), the threading library is entirely contained in libc, and libc is definitely in on the joke. You'd probably need to have your own version of libc to have any chance of this working. Cheers, - jonathan _______________________________________________ opensolaris-code mailing list opensolaris-code@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opensolaris-code