Libthr stable enough for testing

Michael Edenfield kutulu at kutulu.org
Thu May 29 14:23:00 PDT 2003


* James Tanis <jtanis at mindspring.com> [030529 17:18]:

> How does one go about using libthr? Is all that is
> involved is symlinking libc_r to libthr?

That's the easiest way.  You can also explicitly link applications 
with -lthr instead of -lc_r.  And since libthr and libc_r are both 6 
characters long, you could also use ed/sed/etc. to s/libc_r/libthr/ in 
the executable itself.  

Also, there is a patch (I think it's still a patch) floating around 
the mailing list archives to use an external config file so you can 
replace the threading library at run-time per-executable.

--Mike

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20030529/6c3c1630/attachment.bin


More information about the freebsd-current mailing list