Re: Libthr stable enough for testing

From: John Baldwin (jhb_at_FreeBSD.org)
Date: 05/29/03

  • Next message: Bryan Liesner: "Re: panic: kern/52718"
    Date: Thu, 29 May 2003 17:39:18 -0400 (EDT)
    To: Michael Edenfield <kutulu@kutulu.org>
    
    

    On 29-May-2003 Michael Edenfield wrote:
    > * James Tanis <jtanis@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.

    It has been committed. Build rtld with WITH_LIBMAP defined and then
    setup a libmap.conf.

    -- 
    John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
    "Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
    

  • Next message: Bryan Liesner: "Re: panic: kern/52718"

    Relevant Pages

    • Re: libpthread vs libthr.
      ... I suggest the following simple patch. ... Its effect on platforms where libpthread is available is to link ... libthr to libpthread if WITHOUT_LIBPTHREAD is set in /etc/src.conf. ...
      (freebsd-current)
    • Re: Libthr stable enough for testing
      ... > involved is symlinking libc_r to libthr? ... You can also explicitly link applications ... And since libthr and libc_r are both 6 ... there is a patch floating around ...
      (freebsd-current)
    • Re: libpthread vs libthr.
      ... I suggest the following simple patch. ... Its effect on platforms where libpthread is available is to link ... libthr to libpthread if WITHOUT_LIBPTHREAD is set in /etc/src.conf. ...
      (freebsd-current)