From owner-cvs-all@FreeBSD.ORG Fri Apr 18 10:56:21 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F149A37B401 for ; Fri, 18 Apr 2003 10:56:20 -0700 (PDT) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 46C8B43F85 for ; Fri, 18 Apr 2003 10:56:20 -0700 (PDT) (envelope-from eischen@pcnet1.pcnet.com) Received: from pcnet1.pcnet.com (localhost [127.0.0.1]) by mail.pcnet.com (8.12.8/8.12.1) with ESMTP id h3IHuGBg018906; Fri, 18 Apr 2003 13:56:16 -0400 (EDT) Received: from localhost (eischen@localhost)h3IHuG9x018902; Fri, 18 Apr 2003 13:56:16 -0400 (EDT) Date: Fri, 18 Apr 2003 13:56:16 -0400 (EDT) From: Daniel Eischen To: Wesley Morgan In-Reply-To: <20030418113144.K93085@volatile.chemikals.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-all@freebsd.org Subject: Re: cvs commit: src/lib/libpthreadMakefilesrc/lib/libpthread/thread thr_attr_get_np.c thr_attr_init.c thr_attr_setcreatesuspend_np.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Apr 2003 17:56:21 -0000 On Fri, 18 Apr 2003, Wesley Morgan wrote: > On Fri, 18 Apr 2003, Daniel Eischen wrote: > > > > This library now passes all of the ACE tests that libc_r passes > > > with the exception of one. It also seems to work OK with KDE > > > including konqueror, kwrite, etc. I haven't been able to get > > > mozilla to run due to lack of java plugin, so I'd be interested > > > to see how it works with that. > > > > Thanks to marcel, I've finally figured out how to get mozilla > > running. It seems to work OK with these changes, but having > > never used it before, I'm not sure what to expect. > > Ok, I'm a but confuzzled by all these threading libraries. Now we have > libc_r, libthr, and libpthread? How can I alter the behavior of "-pthread" > to use a different library? As far as I can tell, only libc_r is actually -pthread is a FreeBSD-specific hack that was needed when we could not link to both libc and libc_r. 5.0-current has not needed it for a couple of years. Folks should probably be encouraged to just use -lc_r, -lthr, or -lkse (will become -lpthread again shortly). > linked in with a buildworld, so when is it planned to make these > available? What are the advantages and disadvantages? Which library is > more complete? Can someone do a summary of some sort to help out the > consumers? You have to manually build and install libthr and libpthread. I'll hook libpthread in to the world as soon as we fix some other problems. libc_r is probably more complete, but libthr and libpthread probably aren't that far from the mark. Performance should be better with the latter two. -- Dan Eischen