From owner-freebsd-current Fri Nov 8 14: 0:27 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D8F6D37B401 for ; Fri, 8 Nov 2002 14:00:26 -0800 (PST) Received: from harrier.mail.pas.earthlink.net (harrier.mail.pas.earthlink.net [207.217.120.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 92FD043E42 for ; Fri, 8 Nov 2002 14:00:26 -0800 (PST) (envelope-from tlambert2@mindspring.com) Received: from pool0224.cvx22-bradley.dialup.earthlink.net ([209.179.198.224] helo=mindspring.com) by harrier.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 18AHAp-0005YW-00; Fri, 08 Nov 2002 14:00:20 -0800 Message-ID: <3DCC33A7.DBA71B9B@mindspring.com> Date: Fri, 08 Nov 2002 13:59:03 -0800 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Daniel Eischen Cc: Alexander Kabaev , dfr@nlsystems.com, current@freebsd.org Subject: Re: [PATCH: libc]Re: gnome on current References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Daniel Eischen wrote: > > By default, ti_jump_table entries contain pointers to dummy function like > > _return_zero if no threading library is loaded. When the threading library is > > loaded, ti_jump_table is populated with new pointers to functions implemented > > in threading library library. GDB did not allow me to track down where exactly > > this happens, I presume .init function in libpthread.so does that. > > OK, here's a patch that uses a jump table, as well as some other > fixes (use single underscore versions of pthread functions internally > in libc_r, avoid cancellation points for _pthread_cond_[timed]wait, > and other cleanups): > > http://people.freebsd.org/~deischen/libc-libc_r.diffs > > Can someone review and test this with GNOME? I don't use gnome, but it seems to work. You are a code-stud. 8-). -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message